exit: exit [n]
Exit the shell.
Exits the shell with a status of N. If N is omitted, the exit status is that of the last command executed.