Well, IIRC in the war of the SPanish Succession, Philippe d'Orléans tried to negotiate with the allies that he rather than his cousin, the duc d'Anjou, should be king of Spain. ICR if the allies actually took the bait, but Louis XIV was understandably furious when he found out about it, summoned the duc home to Paris and never let him command an army again.
This is very true, not a smart move by the man