Let's add some confusion.

Exit won't exit/quit the script it it's inside a UDF or another called script