The return builtin command
return command returns from a shell function.
N is given, the return code to the caller is set to
N. If not, the returned status the the status of the most recently executed command (i.e.
There are no options.
If everything is okay, the
return command doesn't come back. If it comes back, there was a problem in doing the return.