depending on what you want, and whether this is in a script that’s called by another script. The “exit script” command is basically equivalent to “return” – it will exit the current script, but continue running in the script that called it. “Exit all” will terminate script execution altogether.