Skip to content
BENIBIX Learn

/stop Command

Also known as /stop, claude stop, Stop a background session

It ends the background session you are in.

Think of it like

It is like you turn off the oven. You do not just walk out.

Example

Emma attaches to a background session and sees it has gone the wrong way. She types /stop, then starts a new one with a clearer prompt.

Why it matters

A session that has gone the wrong way keeps using tokens until someone stops it.

Definition

/stop ends the background session you are attached to. The chat and any worktree it made are kept, so nothing is lost. It is different from leaving. /exit or the left arrow only leaves a background session, and it keeps working. A reply of just /stop to a session ends it in the same way.

Example code

console
/stop
End this background session.
/stop turns a working row into a stopped one. Leaving only lets go of it.

Common mistake

Typing /exit and thinking the session ended. It only leaves it, and the work goes on.

Key takeaways

  1. 1
    Ends the session. Not just leaves it.
  2. 2
    Keeps the chat. And the worktree.
  3. 3
    For background ones. Where you are attached.

Compare

Learn it properly