Put sword in safe
You decide to put the sword in the safe so nothing happens to it. You also exchange the GOD TIER BEAN for the BOWLER HAT OF DOUBLE JUMPING due to the obvious advantages.

You close the safe and randomize the combination, it's time to find a way out of here, the obvious choice would be that button in the bookcase.

Push button