Signa said:
Assuming I'm locked in the room, and the only functional anything I can find is the button, then I guess it's going to get pushed. I certainly would look for other interactive objects like a door or a window, but if the ONLY thing in the room is the button, then it's only going to be a matter of time before I push it.
I don't want to get a low content warning, but this is pretty much the only real answer here. You might wait hours, days, or even longer if you have food and water (though presumably you won't, ever) but eventually that button is getting pushed