{"version":"2.1.295","anchor":"background-attach-prints-exit-notice-about-sessions-stopping","canonical_anchor":"background-attach-prints-exit-notice-about-sessions-stopping","heading":"Claude Code warns on exit that background sessions will stop soon","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/background-attach-prints-exit-notice-about-sessions-stopping","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Claude Code warns on exit that background sessions will stop soon\n\nOn exit, Claude Code can now warn that still-running background sessions will stop in about a minute unless you run `claude agents`\n\n**What**\n\nBackground sessions are Claude Code conversations that keep running after you leave them. When you exit while attached to one, and the background helper process that keeps them alive is not running, Claude Code now prints this notice:\n\n\"Background sessions still running will stop in about a minute. Run 'claude agents' to keep them.\"\n\nThe notice appears only in an interactive terminal, and not on Windows.\n\n**Why**\n\nYou now get a warning before background work stops, with the command `claude agents` to keep it going.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}