Returns control from a subroutine to the calling procedure.
RETURN
[ location]
location is the line number or label at which execution should continue. If you omit location, execution continues at the line following the GOSUB statement or, for event handling, at the line at which the event occurred.
GOSUB One
GOSUB Two
END
One:
PRINT "In One"
RETURN
Two:
PRINT "In Two"
RETURN