Return cuts everything: it leaves open loops and blocks and abandons the whole call. Whatever comes after does not run. That is why it is useful for leaving as soon as the answer is known:
Figure 7.5-1.Three possible exits. With 4, -2 and -7 the second one is taken, and the third is never reached.
Three Returns. The first If is false; the second holds and b, which is -2, is returned. The last Return is never reached.
Every path of a typed subprogram must end in a Return. If the engine finds none at all, it is an error before running. If there is one, but a particular path reaches the end without going through it, the failure is discovered when running that path.
In short
Return ends the call on the spot, also from inside loops.
It takes an expression if and only if the subprogram has a return type.
A path that reaches the end without returning fails when running.