{"name":"\/stop","slug":"stop","family":"slash","title":"Slash commands","noun":"slash command","description":"Stop the current [background session](\/docs\/en\/agent-view). Only available while attached to a background session; the transcript and any worktree are kept. To detach without stopping, use `\/exit` or press `\u2190`","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.309","builds":0,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.299","anchor":"stderr-writes-are-bounded-dropped-messages-reported","heading":"Claude Code drops stuck error output instead of waiting on it","line":"If error output backs up for over 10 seconds and 1 MiB, Claude Code now drops it and leaves a notice saying messages were dropped","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.287","anchor":"remote-tool-calls-background-command-ownership-and-fleet-s","heading":"Remote background commands are tied to the agent that started them","line":"Background commands on a remote host can only be reached by the agent that started them, and `\/stop` now works from the fleet-view peek","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.248","anchor":"a-stop-command-for-background-sessions","heading":"A \/stop command for background sessions","line":"A \/stop command can end a background session while keeping its transcript and worktree.","released_at":"2026-08-27 20:35:36","reason":"named in this entry, found in this entry's text"},{"version":"2.1.121","anchor":"background-session-ui-improvements","heading":"Background Session UI Improvements","line":null,"released_at":"2026-04-27 19:39:46","reason":"found in this entry's text"},{"version":"2.1.117","anchor":"stop-hook-command","heading":"Stop Hook Command","line":null,"released_at":"2026-04-21 21:54:08","reason":"found in this entry's text"},{"version":"2.1.92","anchor":"stop-command-quick-session-stop-hook","heading":"\/stop Command \u2014 Quick Session Stop Hook","line":null,"released_at":"2026-04-04 00:05:59","reason":"found in this entry's text"}],"entries_total":6,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"api","path":"api\/beta\/environments","title":"Environments","documented":false},{"source":"api","path":"api\/beta\/environments\/work","title":"Work","documented":false},{"source":"api","path":"api\/beta\/environments\/work\/heartbeat","title":"Record Heartbeat","documented":false},{"source":"api","path":"api\/beta\/environments\/work\/stop","title":"Stop Work","documented":false},{"source":"api","path":"api\/claude-models-on-google-cloud-anthropic-managed-iam-permissions","title":"claude-models-on-google-cloud-anthropic-managed-iam-permissions","documented":false},{"source":"api","path":"api\/claude-platform-on-aws-iam-actions","title":"claude-platform-on-aws-iam-actions","documented":false},{"source":"api","path":"managed-agents\/self-hosted-sandboxes","title":"spawn.sh: called once per claimed work item","documented":false},{"source":"api","path":"managed-agents\/self-hosted-sandboxes-operations","title":"self-hosted-sandboxes-operations","documented":false},{"source":"claude-code","path":"agent-view","title":"Manage multiple agents with agent view","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/stop","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}