Answer:
exit command is used to stop the program.
Step-by-step explanation:
exit command is used to exit the shell when it is currently running.It can take one or more arguments exit[n] and exits the shell and returns the status of n.
exit with parameters
exit [n] exits the shell and returns the status of n.
exit without parameters
exit exits the shell and returns the status of last command that is executed.