Yes, but has Erdogan retaken the military?
Erdogan just ordered his air force loyal to him to shoot down coup controlled planes. So he is back but not fully in control. Just a counter coup move. In this situation he really does not know who he controls.