The narrator pokes fun at the general’s frantic behavior. The sentence lends a light-hearted tone to the story and also highlights a sarcastic and ironic tone, making the general’s actions appear senseless, hysterical, and frivolous—adjectives typically not used to describe a general.