Well, I am stuck

I swear this wasn’t intentional. I wanted to enter the doorway that was guarded by this guy and I threw a box at him. Then while he was chasing me, I went to the door and tried opening it. But it didn’t work and now I am stuck.