John,

welcome to the board !

Exit does exit the function, Quit does quit the script ...

Let us see what you have
_________________________