She was able to find the exit pipe, that the monk had mentioned to her, that led directly to one of the wells inside the courtyard. The water inside of it wasn't terribly deep, only a few inches, until she makes it to the well itself, which extends much deeper. Fortunately, a ladder is built into the side of the well, allowing her to climb up and out of it, with ease.