# QUIT Command
[GstarCAD 2025](Help%20System/GSTARCAD/2025/Index.md) → [Commands](Help%20System/GSTARCAD/2025/Commands/(Commands).md) → [Q](Help%20System/GSTARCAD/2025/Commands/Q/(Q).md)
## Function Description:
This command is used to exit the program.
If there is no modification in the drawing since last saving, users can exit by the QUIT command. If users have made some modifications, it will prompt to save them or give up before exiting by the QUIT command.
If there is no modification in Read-only file, users can exit by the QUIT command. If users have made some modifications, it will prompt to save them by SAVEAS command or give up before exiting by the QUIT command.
## Command Access:
> **Icon:** 
> **Menu:** File > Exit
> **Ribbon:** /
> **Toolbar:** /
> **Command:** QUIT
> **Alias:** /
**Command Prompts: /**
---
**Related References:**
- [Commands about Saving Drawings](Help%20System/GSTARCAD/2025/Commands/00%20Command%20Groups/Commands%20about%20Saving%20Drawings.md)
**Related Tasks:**
- [To Save a Drawing Automatically](Help%20System/GSTARCAD/2025/Commands/01%20Procedures/To%20Save%20a%20Drawing%20Automatically.md)
- [To Save a Drawing File as a Different File Type](Help%20System/GSTARCAD/2025/Commands/01%20Procedures/To%20Save%20a%20Drawing%20File%20as%20a%20Different%20File%20Type.md)
- [To Control the Creation of Automatic Drawing .bak Files](Help%20System/GSTARCAD/2025/Commands/01%20Procedures/To%20Control%20the%20Creation%20of%20Automatic%20Drawing.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2025_en-US/detail/commandReferences/QUIT.html) · © Gstarsoft Co., Ltd.