What happens if during a Jewish holiday you walk in an elevator thinking the dumb goy next to you is going to push your floor for you but walks out and the door closes on you?
Do you wait? What if you wait six hours into the middle of the night and no one comes in? What if its an office building and you're the only one left? Do you wait until Monday?
Why does the goy have to be called "dumb" ? Only dumb people use elevators? I don't get it.
If it is forbidden for a Jew to use the elevator on Shabbat, one does not get in the elevator in the first place. If it you're inside and it closes on you for whatever reason, you wait. Why would no one else come and use the elevator? And you could use that opportunity when someone else enters, to go out and use the stairs which you should have used from the beginning. But lets say no one comes. So you wait until motzei Shabbat which is Saturday night sundown. After that you can do whatever you want. He could sleep in the meantime I guess.
All that said, I know a rabbi who wrote a teshuvah (response letter to a question in Jewish law) where he asserts that the use of an elevator on Shabbat is PERMITTED! And we are not talking a special "shabbat elevator" which is certainly permitted without any question about it. He is talking about a standard elevator, which he holds is permissible for a Jew to use on Shabbat. The person who asked him was someone whose wife was pregnant and they lived on the 35th floor of a building, I believe. That motivated the question. But the answer was that it's allowed. I'll search for the link.