The Governor may detail, with their own consent, officers or noncommissioned officers of the retired list to active duty and return them to the retired list in his or her discretion. Officers or noncommissioned officers retired for age may not be detailed to command troops, but only to perform duties of staff corps or departments, or to sit on boards, except in time of war or other emergency, or imminent danger thereof, when retired officers or noncommissioned officers may be detailed by the Governor, without their consent, to perform any military duty designated by the Governor.