(1) To get out of the current mode or quit the program. Contrast with
launch.
(2) A DOS/Windows command that exits the command prompt.
(3) An instruction that terminates a script or program. The exit command may take a numeric argument to identify the reason for ending. For example, a "0" is often assigned to a normal close. Other exits are given different numbers by the programmer to identify which part of the program could no longer handle the current inputs and had to abnormally terminate.