 They barely manage to get away from Javert, who allowed Valjean to leave the house, believing that Valjean would take him to meet other criminals.Valjean managed to steal a rope from a streetlamp, climb a wall to a convent and pull Cosette up after him.They then climbed down a shed roof into a garden.