Instead of being Court Martialed JFK’s powerful father got him a medal, he couldn’t get him the Medal of Honor like he wanted but the Navy did give JFK a non-combat valor medal, the Navy and Marine Corps Medal, in the Army it is the Soldier’s Medal.
And “JFK’s powerful father” bought him an election — but not a landslide, as JFK joked about later on.