The lift takes you to several levels above the monster pit.
More specifically, there are the three levels: ground floor (with monster), the rafters, and a top alcove.
If you fall off the rafters or the elevator, you can recall the elevator to the ground level by operating the lever on the wall next to the shaft.
Fall down to the ground level to access the elevator.