{"name":"stop","slug":"stop","family":"cli","title":"CLI flags","noun":"CLI flag","description":"When `claude rm` is blocked, it names the session holding the directory and how to stop it.","description_source":"entry","described_by":{"version":"2.1.227","anchor":"claude-rm-tells-you-which-session-is-holding-a-directory"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.285","anchor":"desktop-flag-rejected-when-combined-with-background-or-wor","heading":"New --desktop flag, and background commands now accept options in front of them","line":"`--desktop` opens the Claude Desktop app and now errors when combined with background or worktree options","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"resuming-a-live-background-session-can-now-attach-to-it-and","heading":"Resuming a running background session now opens it and sends your prompt","line":"`--resume` on a session running in the background now attaches to it and hands over your prompt instead of refusing","released_at":"2026-09-29 17:32:09","reason":"named in this entry"},{"version":"2.1.274","anchor":"gateway-server-gains-a-graceful-drainshutdown-path","heading":"Gateway server gains a graceful drain\/shutdown path","line":"Local managed-gateway server gains a graceful drain step before shutdown","released_at":"2026-09-16 22:36:09","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"background-session-subcommands-in-cli-help","heading":"Background session subcommands in CLI help","line":"CLI help now lists attach, logs, stop, respawn and rm for background sessions.","released_at":"2026-08-28 15:34:26","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"bg-help-now-names-the-commands-that-take-the-printed-id","heading":"--bg help now names the commands that take the printed id","line":"--bg help now names attach, logs, stop and rm as the commands taking the printed id.","released_at":"2026-08-28 15:34:26","reason":"found in this entry's text"},{"version":"2.1.227","anchor":"claude-rm-tells-you-which-session-is-holding-a-directory","heading":"claude rm tells you which session is holding a directory","line":"When `claude rm` is blocked, it names the session holding the directory and how to stop it.","released_at":"2026-08-10 20:56:57","reason":"named in this entry"},{"version":"2.1.202","anchor":"loop-explicit-stop-via-schedulewakeup-stop-true","heading":"\/loop Explicit Stop via ScheduleWakeup({stop: true})","line":null,"released_at":"2026-07-06 20:41:23","reason":"found in this entry's text"}],"entries_total":7,"docs":[{"source":"api","path":"about-claude\/api-credits-for-subscribers","title":"api-credits-for-subscribers","documented":false},{"source":"api","path":"about-claude\/models\/migration-guide","title":"Or, for the model with the same capabilities and no access approval requirement:","documented":false},{"source":"api","path":"about-claude\/models\/optimizing-for-cost-and-intelligence","title":"optimizing-for-cost-and-intelligence","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/claude-api-skill","title":"claude-api-skill","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/enterprise","title":"enterprise","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/quickstart","title":"quickstart","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/console","title":"console","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/deploy-compose","title":"Edit docker-compose.yaml: increment the integer in the setup service's","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/quickstart","title":"quickstart","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/security","title":"security","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/stop","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}