exit — command
This command closes your current connection if you are in user EXEC mode or privileged EXEC mode. If you are in a subconfiguration mode such as the interface or routing configuration mode, this command takes you to the next higher level (e.g., back to EXEC mode from interface configuration mode).
Routerexit Connection Closed Routerenable Router#
conf tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#