Your shell must accept the exit command. This command will be in the form:
e x i t
When you encounter this command, your shell should terminate. Please note that when your shell exits, you must restore the input parameters changed. This will be discussed later in this document.