Use casesUpdated

What happens to a coding agent when you close Canopy?

Learn what a closed tab, hidden project, hibernation, app exit and CLI resume each do to your agent before you leave a session overnight.

On this page

It depends on what you closed. Switching projects keeps agents running. Hibernating unmounts the project, and exiting the app cleans up its processes. Restoring a tab or resuming a CLI conversation doesn't prove the same process kept running.

Canopy workspace resource and hibernation controls
Canopy workspace resource and hibernation controls

Name what you're closing

Closing a window may not exit the app, depending on platform, so check whether Canopy is still running. Awake projects stay mounted while hidden, so their terminals and editors survive a project switch. Hibernation snapshots and unmounts a project to free resources, then rebuilds it later. Exiting the app cleans up the processes and services it owns.

Restore a tab you closed by mistake

Since v0.3.4, closing an agent tab opens a short restore window. Use it right away, then check the session's project, branch, process state and files. A restored tab doesn't mean a stopped CLI process kept running.

Save a checkpoint before you leave

Before a long break, note the branch and status, open PR, last accepted decision, tests run and next action. Let an editing agent reach a stable point, or stop it. The repository and running services, not a kept tab, show what got done.

Check whether the CLI can resume

Canopy's August 2026 parity audit lists resume commands for several CLIs; Aider has no per-session resume. Each CLI stores its own conversation. Canopy can show session digests and launch a supported resume, but it can't move one provider's conversation into another CLI.

Reopen the project and check what's real

When you return, check the branch and uncommitted files first, then the agent's current state, not just its transcript. Restart website, API or worker commands from Servers and confirm the detected URL serves the right checkout. Resume the old session with a short update if it still fits, or start fresh from your checkpoint.

Remote also needs the desktop running. For agents that keep working while your computer is off, use cloud workspaces (preview): managed machines where agents, terminals and servers keep running and files persist.

Run a small lifecycle test

On a throwaway task, start an agent and a local service, switch projects, then look back. Separately try hibernation and app exit, noting what needs a restart. Don't test with unsaved edits or a production deployment; you could lose work.

Copyable resources

Before leaving a project

A short record makes a resumed session useful even if the process stopped.

Project and component: [ ]
Branch and git status: [ ]
Agent CLI and session: [ ]
Last accepted result: [ ]
Open PR or issue: [ ]
Running services and URLs: [ ]
Checks run with results: [ ]
Next action: [ ]
On return: check branch, process state and service URL, then resume or start fresh.

Frequently asked questions

Does switching to another Canopy project stop my agent?

No. Awake projects stay mounted while hidden, so their terminals keep running. Hibernation and app exit are different.

Will an agent keep running after I close the window or exit the desktop app?

Closing a window may leave the app running; check. Exiting the app cleans up its processes. Save a checkpoint and check process state when you reopen. For agents that run without your computer, use cloud workspaces (preview).

Is restoring a CLI conversation the same as restoring a live process?

No. A CLI can reopen recorded context after the process has ended. Check the branch, files and services before continuing.

Can I recover a Canopy agent tab I just closed?

Yes, within a short restore window added in v0.3.4. Use it right away, then check whether the CLI process is running and which branch it's on.

More questions and answers →

Sources and further reading