JFK was going to be Court Marshaled for the loss of PT-109 as he was idling when the PT-109 was ran over, Joe Kennedy had to go all the way to FDR to get the Navy to drop charges..
One gets court-martialed for turning OFF the engines in combat. You don't get court-martialed for idling.