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,
uptimeshows how long the system has been running andlast rebootlists 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).
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
- Connect to the desktop and run
uptimeto confirm when it restarted. - Go to the project directory and use
git statusandgit diffto see what state the working tree was left in. - Start tmux again and run
claude --continueto pick the conversation back up. - Tell it the machine restarted, and have it verify that the changes are complete before re-running the interrupted commands.
- Start the dev servers and containers you need by hand.
- From now on have it commit in stages, so a restart costs at most one small step.
Related questions
- Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance
- Can I still connect to a remote Mac mini after it restarts?
- How to keep long tasks running on a remote Mac mini after you disconnect
- How do I get back to my Claude Code session after a remote disconnect?
- My Claude Code task stopped halfway. How do I work out what went wrong?
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:
- Can't connect to my remote Mac: is Claude Code still running? What to check first
- Switching to another rented Mac or spec mid-term: how do I move my dev environment?
- Ending a Mac rental early: how do I clean up code, keys and the Claude login?
- What can and can't I do with the admin account on a rented remote Mac?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support