RETURN : Quits the subroutine and returns to the calling program.

syntax: RETURN

RETURN quits the subroutine and returns to the calling program, even if encountered within nested loops. There is an implied RETURN at the end of any program called as a subroutine. A RETURN instruction encountered in the main program will stop the execution of the program and return to the calculator display