Skip to content

Command reference

claude daemon stop--any [--keep-workers]

Stops the background-session supervisor and the sessions it hosts.

Terminal commandsAgentscurrent

What the documentation does not say

--keep-workers leaves the sessions running so the next supervisor reconnects to them. One ordering trap: only since v2.1.199 does a leading --dangerously-skip-permissions still route to daemon. Earlier versions read the subcommand as a prompt, which quietly broke this for anyone whose claude alias carries that flag.

Arguments
--any [--keep-workers]