A common misconception: the Baudelaire orphans do not escape Count Olaf in The Bad Beginning (Book 1 of A Series of Unfortunate Events). Instead, Olaf kidnaps them, forces them into servitude, and stages a sham marriage to Violet to claim their fortune. The book ends with Olaf fleeing, but the children remain under the inadequate care of Mr. Poe.
They successfully escape at the end of Book 2: The Reptile Room, when their new guardian, Uncle Monty, discovers Olaf's disguise (as "Stephano") and intervenes—though tragically, Monty is murdered before the children are fully safe. Their true, sustained freedom remains elusive throughout the series.
The Netflix series and film adaptations compress timelines, sometimes making it seem like the escape happens earlier. In the books, the orphans' plight is a prolonged cycle of placement, peril, and narrow escapes.