RETURN has no parameters. It can be used to force an early exit from a command file, and is apparently only useful inside an IF construct (otherwise it would amount to an unconditional return, which is caused by the end-of-file anyway.)
It is also wise to include a RETURN statement as the last statement in a command file which is to be DOne, but is not, as yet, necessary.