Purpose
Indicates that control is to be returned to the calling command or, as appropriate, the user.
Syntax
RETURN
Remarks
RETURN terminates the command file processing. If this command is given when there is no input redirection in effect, it has no effect.
END, FINISH, and STOP are all equivalent to RETURN.