How was the coup d'etat used in wars and conflicts?