/exit

Exits the CLI; detaches background sessions, allowing them to continue.

What /exit does

This command exits the Claude Code CLI. If used in an attached background session, it detaches the session, allowing it to continue running independently.

Syntax

/exit

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command exits the CLI and detaches background sessions, allowing them to continue running?

    • Shuts down all running Claude processes
    • Closes the current conversation tab
    • Pauses the current Claude session
    • Exits the CLI, detaching background sessions
    Show answer

    /exit: Exits the CLI, detaching background sessions

  2. Which command exports the current conversation as plain text to a file or offers to copy it to the clipboard?

    • Saves the current session state
    • Exports the current conversation as text
    • Publishes conversation to a public URL
    • Generates a summary of the conversation
    Show answer

    /export: Exports the current conversation as text

  3. Which command toggles fast mode on or off, even applying the change mid-response?

    • Reduces the model's response length
    • Toggles fast mode on or off
    • Speeds up the entire Claude Code app
    • Prioritizes the current task
    Show answer

    /fast: Toggles fast mode on or off

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.