It makes no difference from the Navy discipline. But it makes a difference as to whether the guy did the right thing by his men or not.
If he sacrificed his career to save men’s lives, then he’s a hero, even if he is a fired hero.
If he did it for publicity then he is a goat, a fired goat.
He is a disgraced Naval Officer. His career is through. He will retire and be completely forgotten and any fond memories usually held by former members of the military will be overshadowed by his truly disgraceful behavior.
In the military the man NEVER comes before the Mission....not EVER!
I doubt you ever served. If you did you were like the guy Patton slapped.