Omniscio

OmniscioGuidesSessions ended while this machine was offline

Claude Code: sessions ended while this machine was offline

Last checked against Anthropic's documentation on November 23, 2026. By the Omniscio team. Updated .

What is the exact message?

2 sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.

The number is the count of sessions that ended, so yours will differ. The rest of the line is the explanation and the outcome in one sentence.

What does it mean?

Claude Code shows this in the terminal running claude remote-control, after your machine was offline long enough that the server cleaned up the Remote Control environment your machine was serving.

The sessions in that environment ended, and you cannot resume them. This is not a local crash: the server-side environment they belonged to no longer exists, so there is nothing for the terminal to reconnect to.

When Claude Code lists kept worktrees under the message, uncommitted work is still in them. Collecting that work is Anthropic's first step, before the restart.

How do I fix it?

  1. Read the worktree list under the message. When Claude Code lists kept worktrees there, pick up any uncommitted work from them before starting again, because the sessions that held that work have ended.
  2. Run claude remote-control again to start a fresh environment. That is Anthropic's step, and it is the whole recovery: a new environment with new sessions.
  3. Expect new sessions, not the old ones. The ended sessions cannot be resumed, so anything you need from them has to come out of the worktrees or your own copy of the work.

How do I know it is fixed?

  • claude remote-control starts and serves a fresh environment instead of reporting ended sessions.
  • The sessions you start now appear in that environment rather than the cleaned-up one.

Where these answers come from

Common questions

What is the number in the message?

It is the count of sessions that ended. The example Anthropic shows reads 2 sessions ended while this machine was offline.

Can the ended sessions be resumed?

No. The environment was cleaned up on the server and cannot be resumed. Anthropic's step is to run claude remote-control to start a fresh environment.

What happens to work that was not committed?

Claude Code lists the kept worktrees under the message when there are any, and uncommitted work in them is still there to collect. Take it before you start the fresh environment.