quit
quit(); - finish executing the script, provided that this is not prohibited (in this case, the command will simply be ignored).
After testing, the function returns the result of its work to the script :
true – successfully worked
false – operation failed