Welcome to the board, KG!!!
Others have also stacked boxes at the bottom of the pit to climb up to the exit. The button should work - sometimes it appears to be a bit tempermental so if it doesn't work right away - try it again.
(The button is in the room where all the spikes come down to get you!
)
Wyv