Hi @Mengxin_Liu, the subagent got stuck because the Cursor extension host running on your SSH machine kept freezing. Over the hour and a half before you posted, it stopped responding roughly once a minute. The subagent was waiting on a step that runs in that process, and the result never came back, so it sat on “Planning next moves” with nothing actually running.
When it happens again:
Stop the stuck subagent from its card.
Tell the parent agent to continue the task. Your later retries this morning finished normally once the remote side settled down.
All agent windows connected to the same SSH host share one extension host there, so closing agent windows you aren’t using, or easing load on the remote machine, makes these freezes less likely.
Could you tell us what the subagent was running when it hung? For example, a single long build or test command, or many smaller steps?