Find out what sort of command it is using
If it is part of the shell then it will be defined in the shell documentation, otherwise try reading the man page for exit. If that doesn't answer your question, please ask again, reporting what you found out.