I think when the military ousts a sitting president, even if the sitting president is deeply unpopular, that's the definition of a coup.

Ivo Daalder Us Up Unpopular