OTTAWA — In a bold prison break, two Canadian convicts shinnied up a rope at a provincial detention center north of Montreal to a hijacked helicopter hovering overhead and, briefly, experienced freedom.

But after Sunday’s drama came Monday’s reality. The two men were back in jail and appeared in court with two accomplices to face a variety of charges.

The two convicts, Danny Provençal, 33, and Benjamin Hudon-Barbeau, 36, were connected to the Hell’s Angels, a group linked to violent battles over the drug trade in Quebec, the police said. Little was known publicly on Monday about the two other men.

Yves Le Roux, the president of Passport Hélico, said in an interview that two men booked a sightseeing flight from the Mont Tremblant ski resort on Saturday. The pilot, Sébastien Foray, 23, told Mr. Le Roux that it was obvious the pair were not typical tourists when they showed up the next day.