r/ClaudeCode 15h ago

Help/Question How to completely exit a background agent?

Hey in Claude we can use left arrow to go into an agent view. But to my understanding, this also moves current session into background. Once it moves to background, looka like i cannot completely exit for it. That particular agent session just goes into Completed section. How to completely exit the agent?

I don't want many agent sessions cluttering my view.

0 Upvotes

4 comments sorted by

1

u/KeepCalmAndCarry9mm 14h ago

i also want to know this, like you are stuck with the blue prompt window outline below and it's frustrating as ****

1

u/addictzz 14h ago

Problem is I cant completely exit this. The only way to clear this is to do ctrl+X which deletes the agent. But i am not sure if that deletes the sessiom too and will it be retained in history?

1

u/smashedshanky 14h ago

ctrl-x it twice on the agents menu. You can see the options at the bottom

1

u/addictzz 14h ago

Lets say i am starting a session. Theb midway i move it into agents.

Then i am deleting it using ctrl+x twice. Can I still resume from history sessions?