Yes, the return() statement (keyword?) means that execution of the current function is stopped, and control passes to the calling procedure (pending evaluation of return()'s argument, of course).