Command reference ยท Cursor CLI
/quit
Exits the current CLI session.
/quit ends the current interactive session of the Cursor CLI. As with /exit, the description in the official slash command reference is simply "Exit" โ according to the doc, the two commands are therefore interchangeable, neither has a documented additional benefit.
The reference doesn't mention arguments or options. After /quit, the chat process closes and you're back at the normal terminal.
If the session should be findable again later, /rename beforehand helps give it a recognizable name; it can then be reopened via /resume from the list of recent chats.
โ WHEN TO USE IT?
The work is done
After the last accepted change set, type /quit to close the chat.
Use the more memorable command
Those who find /quit easier to remember than /exit simply type /quit โ according to the doc, identical behavior.
โ WHEN NOT TO?
Continuing work on exactly this session later
After exiting, the session first has to be found again via /resume in the list of recent chats.
Better: Use /rename beforehand to make it easier to find later.
SOURCES
- Cursor Docs โ Slash Commands โ cursor.com
MORE COMMANDS ยท Cursor CLI