Type exit to terminate the shell and return to the calling program.


You can use logout in bash to return to command prompt.

bash