Technically speaking, officers are not bound by oath to follow the orders of the President.
Of course, practically speaking... that's a different matter.
I, _____, having been appointed an officer in the Army of the United States, as indicated above in the grade of _____ do solemnly swear (or affirm) that I will support and defend the Constitution of the United States against all enemies, foreign and domestic, that I will bear true faith and allegiance to the same; that I take this obligation freely, without any mental reservations or purpose of evasion; and that I will well and faithfully discharge the duties of the office upon which I am about to enter; So help me God." (DA Form 71, 1 August 1959, for officers.)
They might need to be reminded about who some of our domestic enemies are.
Major Gen. John K. Singlaub
John Kirk Singlaub (born July 10, 1921) is a highly decorated former OSS officer, a founding member of the Central Intelligence Agency (CIA), and a retired Major General in the United States Army. In 1977 Singlaub, was relieved from his position as Chief of Staff of U.S. forces in South Korea after criticizing President Jimmy Carter's decision to withdraw U.S. troops from the Korean peninsula in an interview with the Washington Post. Less than a year later Singlaub was forced to retire after publicly questioning President Carter's national security policies. In 1979 Singlaub founded the Western Goals Foundation, a private intelligence network that was implicated for supplying weapons to the contras during the Iran-contra affair. Singlaub is a contributing author to several books and is the author of his autobiography as well as numerous articles. . .