Claude Code stops when your Mac sleeps: 5 fixes, lid closed too
This story is from 2026-10-26. It is preserved in the archive; the latest stories are on the live feed.
You gave Claude Code a long task, closed the lid, and came back to a dead session. Nothing is wrong with the agent. macOS put the machine to sleep, and sleep suspends every process, drops the network, and ends any SSH connection. This page covers the settings that stop that, in the order to try the…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-26 12:32 · DEV Community — AI
Claude Code stops when your Mac sleeps: 5 fixes, lid closed too