Exactly. First a court-martial and then a good ol'hanging.
"Sit at your desk and never go to sea and soon you'll be the ruler of the Queen's Navy".