A naval officer faces a court-martial for seizing control of a vessel from its captain, whom he believed was behaving erratically and putting the ship and its crew at risk.