Stop is not undo: rewind in Claude Code
Esc stops Claude. It does not put your files back. Checkpoints do.
Rewind
Esc Esc # or /rewind
# pick the prompt to go back to, then: code, conversation, or bothWhat it can't undo
Commands Claude ran in the shell (deleted files, database writes, pushes). For those, commit often and deny dangerous commands.
Safety net
git add -A && git commit -m "wip before agent"A new disaster and its fix every day. Comment the word under a reel to get its guide.