During the student uprising of June 5–6, 1832, Gavroche joins the revolutionaries at the barricade. After an exchange of gunfire with the National Guards, Gavroche overhears Enjolras remark that they are running out of cartridges. He decides he can help. He goes through an opening in the barricade and collects the cartridges from the dead bodies of the National Guard. In the process of collecting the cartridges and singing a song, he is shot and killed.