Hello,
I would always suggest you try shutting down the controller prior to removing it. However, if the command fails like you stated I would remove the controller and follow the rest of the instructions listed previously. Be sure to allow Controller B time enough to fully discharge before you re-insert it. This will also give Controller A and the hosts enough time to properly failover.
Cheers,
Shawn
I work for Hewlett Packard Enterprise. The comments in this post are my own and do not represent an official reply from HPE. No warranty or guarantees of any kind are expressed in my reply.