How to close or exit the Windows command line.

 

To close or exit the Windows command line window type exit and press enter. Alternatively if the window is not a full screen you can click the X in the top-right corner of the window.