Home/Q&A/My remote Mac restarted. Are my Claude Code sessions and changes still there?

My remote Mac restarted. Are my Claude Code sessions and changes still there?

Updated · airankrush

Direct answer

Files and conversation history are still there. Processes are not. Changes already written to disk are not lost. tmux sessions, dev servers and commands that were executing all have to be started again, and the conversation can be picked up with the resume commands.

Basis

  • First confirm it really restarted: in Terminal, uptime shows how long the system has been running and last reboot lists recent restarts. Only a very short uptime means a real restart rather than the remote connection dropping on its own.
  • Still there: files in your repositories (including uncommitted changes), installed tools, sign-in state, and the Claude Code conversation history stored on the machine.
  • Gone: every process, including tmux sessions, background commands, local dev servers, and containers not set to restart automatically.
  • Picking the conversation back up: go to the original project directory and run claude --continue. The official documentation says interrupted tool calls are not re-run on resume and background commands are not restored (checked 2026-11-12, source: the sessions page of the code.claude.com docs).

Information as of .

Boundaries: when the answer is different

If you cannot even get into the remote desktop after a restart, that is a different problem: the remote control software only works fully once the user session has logged in. See Can I still connect after a restart? for what to do. A file Claude Code was halfway through writing may be left in an intermediate state, so once you are back in, have it inspect the working tree first instead of just telling it to continue. The machine may restart for maintenance or system updates, and we do not promise uninterrupted operation. Getting certain programs to start by themselves after a restart involves automatic login and login item settings; ask support to assess it first, and do not change login or encryption settings on your own.

How to do it

  1. Connect to the desktop and run uptime to confirm when it restarted.
  2. Go to the project directory and use git status and git diff to see what state the working tree was left in.
  3. Start tmux again and run claude --continue to pick the conversation back up.
  4. Tell it the machine restarted, and have it verify that the changes are complete before re-running the interrupted commands.
  5. Start the dev servers and containers you need by hand.
  6. From now on have it commit in stages, so a restart costs at most one small step.

Use case

This question belongs to the use case: Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance

Other questions in the same use case:

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All Q&A