Milley did not contravene any orders. He prepared to...but never needed to.
If Trump had ordered a nuclear strike and Milley intervened to stop it, then he you might have a point. It never came to that.
Also: If Milley had stopped a nuclear strike, he would have been right to do so, full stop. Google "Stanislav Petrov."