PDF download Download Article PDF download Download Article

This article will teach you two simple ways of exiting the Command Prompt in Windows. For these steps to work, a Command Prompt window must be opened.

Method 1
Method 1 of 2:

Using the "Exit" Command

PDF download Download Article
Method 2
Method 2 of 2:

Using the "X" Window Control Button

PDF download Download Article

Community Q&A

Search
Add New Question
  • Question
    How do I get on CMD using a Mac?
    Community Answer
    Community Answer
    Type exit, or click the x in the upper right hand corner, You can also right click on the top banner and select, close.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Shut Down Your Windows Computer from the Command LineShut Down Your Windows Computer from the Command Line
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)3 Ways to Open Command Prompt with Keyboard on Windows
Open Terminal in WindowsOpen Terminal in Windows
Reboot from Command Prompt on Windows Restart Windows in Command Prompt:
Start the Control Panel from the Command LineStart the Control Panel from the Command Line
Open the Command Prompt in Windows6 Simple Ways to Open the Command Line in Windows
Open Calculator with the Command Prompt in WindowsOpen Calculator with the Command Prompt in Windows
Shut Down Windows Shut Down Windows 11, 10, 8, 7, Vista, and XP
Boot to Command PromptBoot to Command Prompt
Close Apps in Windows 10Close Apps in Windows 10
Shut Down Your PC with a Shortcut Key6 Easy Ways to Use Shortcut Keys to Shut Down a Windows PC
Turn Off a Personal ComputerTurn Off a Personal Computer
Exit out of a Frozen Computer ProgramExit out of a Frozen Computer Program
Restart Windows 10 Restart Windows 10 & 11: Five Easy Step-by-Step Methods
Advertisement

About This Article

Tested by:
wikiHow Technology Team
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 77,484 times.
How helpful is this?
Co-authors: 5
Updated: March 10, 2025
Views: 77,484
Categories: Command Prompt
Thanks to all authors for creating a page that has been read 77,484 times.

Is this article up to date?

Advertisement