TheGOSUBstatement transfers control to a subroutine; theRETURNstatement transfers control back to the next statement following theGOSUB. You can have manyGOSUBs to the same subroutine and aRETURNoccurring in that subroutine returns control to the statement following the specificGOSUBused to get to the subroutine. You can only enter a subroutine by usingGOSUB. If you don't useGOSUB, theRETURNstatement causes an error when executed.
TheRETURNkeyword is also used to return values from user-defined functions. SeeDEF FNfor an explanation ofRETURNused in this way.