Now, there's an elevator I would not be enthused by...
In all seriousness, OP, I'm glad you're okay, and emergency services should have been involved. The priority should be guest safety - I can only imagine the legal troubles the hotel could have had if you had undergone medical distress while stuck because the hotel told you not to call emergency services to expedite your departure from the elevator.