I know nearly nothing on elevator codes, but sure seems to me that one of last things you want to do is shut it down while there are passengers in it. I can see requirements that allow for stopping it at nearest possible point where passengers could exit and allowance for doors to open before any other shutdown occurs. Maybe there is a bigger picture that I am not aware of though.
I am a certified QEI
in fact annual ceu seminar next week in ocean city md
the logic is water on the controls can cause serious problems
hoistway doors to open with no car at landing
elevator to run by slow down or final switches
get safeties wet and reduce effectivness
etc
they just don't shut the power off
first bldg smoke detectors will park the car at a landing (more sensitive and trip well before thermal)
shaft mounted smoke det do the same
then heat detectors at say 135 F with shunt trip
then sprinklers at 160 F
elevators have so many layers of safety, both elec and mech, that they are extremely safe machines
IF MAINTAINED PROPERLY