The command of that ship does seem a bit out of the ordinary. And out of jobs now. But now we are out of a ship at least for a while.
I remember when a supply ship lost 2 deck crew to a line snapping, the admiral flew in and took command till a new Captain could take command. It happened just a few days after they docked.
I think senior command made the admiral do it as punishment for allowing a captain to serve that would even be involved in a double fatality on deck.
Apparently there was more backstory on this but they kept it hush hush. But from what leaked, it had to do with the deck watch and inappropriate relationships between senior and junior enlisted.