In case of invasion, insurrection, public disaster, or imminent danger thereof in the vicinity of any unit, it shall be the duty of the commanding officer thereof to at once notify the commander in chief, or in the commander in chief’s absence the adjutant general, of the conditions that exist, and to hold himself or herself in readiness to mobilize his or her command and carry out the orders he or she may receive from competent authority.