Main Help → All Commands → Language Reference → IfStr
The return command exits a subroutine at any time.
return