The RETURN statement instructs BASIC to RETURN from a subroutine (called by GOSUB) and execute the statement following the GOSUB call.
Program Example.
00100 GOSUB 1000
00110 GOSUB 1020
00120 END : REM If this is not here, an error will occur
01000 PRINT "First Subroutine"
01010 RETURN
01020 PRINT "Second Subroutine"
01030 RETURN
See also GOSUB