RETURN command

Syntax: RETURN

The RETURN command is to be used in conjunction with script files. See EXECUTE.

If the RETURN command is encountered in a script file, control passes back to the calling script, if there is one, or interactive control is passed back to the user, if that script was the top level script.

You can also the RETURN from the keyboard after a PAUSE command to abort that script.