That’s one way to get out of the Navy
He’s not out.
No that is one way into prison for a great many years, a dishonorable discharge, forfeiture of all pay and allowances, and reduction to the lowest enlisted grade at a General Courts-Martial.
Hopefully, he’ll find a couple decades in Leavenworth far more to his liking. /s