It wasn’t a coup per se, but an attempt to restore democratic rule. The Islamist fascists won out and Turkey is now a terrorist state.
All the Turks I have met over my lifetime despise the extreme brand of Islam practiced by the current dictator and admire the brand tolerated by Ataturk.