You panic and flatten yourself against a nearby wall before realizing it's closed.
Which means it's safe.
You seem to be in some sort of hallway that opens up into another room. Luckily, there doesn't seem to be a door- or worse, a doorway, which is a door that can't even close- between you and that room…