Well the oath he took says “and I will obey the orders of the President of the United States and those of the Officers appointed above me according to regulations and the Uniformed Code of Military Justice, so help me God”. If he went beyond that at best a court martial, at worst prosecution for treason.