return
You can use the return command to return to the program location of the last jump performed.
print ( "start" ) gosub _subroutine print ( "end" ) _subroutine: print ( "inside subroutine" ) return