That’s why the British would hang an admiral every now and then.
As an example to the others.
I think it was the French Army that would shoot some of their soldiers “pour encourager les autres”. I doubt if any British admirals were hanged — ordinary seamen, yes, but admirals were few and far between, and members of the elite, don’t you know.