Remove controller canister
You remove the controller canister so you can replace the failed battery with a new one. Disconnect all the cables then you can slide the controller out of the controller shelf.
Remove battery
You must remove the failed battery so you can install the new one. Remove the battery by squeezing the tab and disconnecting the connector housing. Then, you can pull the battery out of the controller.