Escalator manufacturers actually don't recommend having people use stationary escalators as stairs, as they're potentially in a problem state and may experience additional failure and become very unsafe.
If you have an option of regular stairs or stalled escalators, use the stairs.