Exits the current shell. If ret code is specified it is used as the exit value, otherwise 0.
If running an xmlsh script then exits the script with the specified exit code.
If running interactively exits the xmlsh program.
Example: exit with the last command's exit value