You'll notice
Resuming an agent that is still stopping now tells you to re-run the stop or wait for it to exit.
When the agent targeted for resume is still stopping and hasn't reached a terminal status, the resume attempt is refused with guidance to re-run the stop command or wait for it to exit, rather than racing the in-flight stop.