An officer of the Army National Guard of the United States or the Air National Guard of the United States whose Federal recognition as an officer of the National Guard is withdrawn under
section 323(b) of title 32 shall be discharged from the officer’s appointment as a reserve officer of the Army or the Air Force, as the case may be.