exit in AI

From the Claude Code Slash Commands cheat sheet · Core Commands · verified Jul 2026

/exit

Exit Claude Code CLI

bash
/exit
💡 Closes Claude Code CLI session
⚡ Conversation auto-saved for later
🔍 Can also use Ctrl+C or Ctrl+D
🎯 Use /resume next time to continue conversation
exitcoresession

Continue with Claude Code Slash Commands

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full Claude Code Slash Commands cheat sheet