This isn’t the Chester Nimitz or Hyman Rickover Navy (let alone, JP Jones and DG Farragut) Navy anymore.
They would have suggested that the captain commit suicide for management incompetence rather than expose the Navy to the embarrassment of a court martial for an accident like this.
And the captain would have complied willingly.
In the Imperial Japanese Navy, quite possible. Cite some examples of U.S. Navy ship captains committing suicide to avoid embarrassing the Navy