In an emergency..
Mrs irrelevant was stuck in one hospital or another for most of 2020.. I won't say which one this happened in, but the block her ward was in at one point had two lifts, one at each end. The lift nearest the main entrance was of of order, so it necessitated a fairly long walk through the ground floor labyrinth to reach the other lesser-used lift. This was a trip we got used to, her needing to step outside for "fresh air" occasionally, and me coming in to see her but not officially being allowed on the ward.
Anyway, taking her back up one evening, secondary lift is sat on ground floor with its doors open. We go in, press the button, doors close, pause, and open again. Reasoning that it might be a sensor not registering a proper closure, we try again, and I give the door a helpful extra shove just as it closes, and it works, and keeps on doing so.
Couple of days later, same problem. Except no amount of shoving or banging the door helps. As she's in a wheelchair, the stairs were not an option.. Phoned the ward, who called maintenance, who promised a visit next day.. In the meantime, they had to find her a bed on another ward she could get to.
It was maybe just as well it failed while she was downstairs, rather than up, though I did wonder about the fire safety implications - it took them over two days to get it working. They eventually fixed the main lift, too..