[BUG] Allow "cancelled" agents to be resumed anyway

Status Open
Reported on v2.1.221
Maintainer reply None cached
Activity 5 comments · opened Aug 4, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I accidentally killed an important agent. I asked Claude to continue it, but in Claude-Code's infinite wisdom it said:

Agent acef0aa4a0b598f0d was stopped by the user and won't be resumed. Treat its work as cancelled; only launch a new agent if the user explicitly asks.

This is really annoying, it's wasting a ton of time and tokens.

What Should Happen?

It should be able to be resumed anyway. Pressing escape does not mean an entire subagent should be permanently disabled

Error Messages/Logs

Steps to Reproduce

Start a subagent
Press escape
Ask to resume
Get refused

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.221

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

3 Comments

Shard · 25 days ago

Same issue:
Bug Description
bug: canceled subagents are not able to be resumed, this was previously possible and appears to be a regression

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.222
  • Feedback ID: 823d8377-b4a1-454c-a0bf-53f93abe0c49

Errors

Agent a9d7649e1aa89a2e9 was stopped by the user and won't be resumed. Treat its work as cancelled; only launch a new agent if the user explicitly asks.
Allowed by auto mode classifier
Agent af20a41441240cd23 was stopped by the user and won't be resumed. Treat its work as cancelled; only launch a new agent if the user explicitly asks.
Allowed by auto mode classifier
Agent a29171a9e663dad93 was stopped by the user and won't be resumed. Treat its work as cancelled; only launch a new agent if the user explicitly asks.
Allowed by auto mode classifier
Agent a95d72d4fc8964290 was stopped by the user and won't be resumed. Treat its work as cancelled; only launch a new agent if the user explicitly asks.
Allowed by auto mode classifier
Agent a74589d1365259e7b was stopped by the user and won't be resumed. Treat its work as cancelled; only launch a new agent if the user explicitly asks.
Allowed by auto mode classifier
Lefted · 17 days ago

Same thing happend to me. I Ctrl+C to clear the prompt in the subagent but it killed the subagent without further confirmation and the work was lost.

grandmasteri · 17 days ago

+1, this is very frustrating. I accidentally cancelled several running subagents while trying to clear the prompt and now I can't get claude to resume even though I have --dangerously-skip-permissions on.

Showing cached comments. Read the full discussion on GitHub ↗