Although his expulsion would have formally taken effect on 4 January 1831, Galois quit school immediately and joined the staunchly Republican artillery unit of the National Guard. He divided his time between his mathematical work and his political affiliations. Due to controversy surrounding the unit, soon after Galois became a member, on 31 December 1830, the artillery of the National Guard was disbanded out of fear that they might destabilize the government. At around the same time, nineteen officers of Galois' former unit were arrested and charged with conspiracy to overthrow the government.
In April 1831, the officers were acquitted of all charges, and on 9 May 1831, a banquet was held in their honor, with many illustrious people present, such as Alexandre Dumas. The proceedings grew riotous. At some point, Galois stood and proposed a toast in which he said, "To Louis Philippe," with a dagger above his cup. The republicans at the banquet interpreted Galois' toast as a threat against the king's life and cheered. He was arrested the following day at his mother's house and held in detention at Sainte-Pélagie prison until 15 June 1831, when he had his trial. Galois' defense lawyer cleverly claimed that Galois actually said, "To Louis-Philippe, if he betrays," but that the qualifier was drowned out in the cheers. The prosecutor asked a few more questions, and perhaps influenced by Galois' youth, the jury acquitted him that same day.
Galois returned to mathematics after his expulsion from the École Normale, although he continued to spend time in political activities. After his expulsion became official in January 1831, he attempted to start a private class in advanced algebra which attracted some interest, but this waned, as it seemed that his political activism had priority. Siméon Denis Poisson asked him to submit his work on the theory of equations, which he did on 17 January 1831. Around 4 July 1831, Poisson declared Galois' work "incomprehensible", declaring that "[Galois'] argument is neither sufficiently clear nor sufficiently developed to allow us to judge its rigor"; however, the rejection report ends on an encouraging note: "We would then suggest that the author should publish the whole of his work in order to form a definitive opinion." While Poisson's report was made before Galois' July 14 arrest, it took until October to reach Galois in prison. It is unsurprising, in the light of his character and situation at the time, that Galois reacted violently to the rejection letter, and decided to abandon publishing his papers through the Academy and instead publish them privately through his friend Auguste Chevalier. Apparently, however, Galois did not ignore Poisson's advice, as he began collecting all his mathematical manuscripts while still in prison, and continued polishing his ideas until his release on 29 April 1832, after which he was somehow talked into a duel.