⌨️/exit Command
Also known as /exit, /quit
It closes Claude Code. The session is saved.
Think of it like
It is like closing a door. The room is still there when you come back.
Example
Lucy is done for the day. She types /exit, and tomorrow claude --continue opens the same chat again.
Why it matters
Leaving is safe. Nothing is lost, so you can stop at any point.
Definition
Example code
console
/exitCommon mistake
Key takeaways
- 1Closes the program. Back to the shell.
- 2Session is saved. Resume it later.
- 3Leaves background ones. They keep running.