The boxes would follow standard physics, so if you rotate the room again, then the box will fall back, so you can try again! Hope that helps!
tysm for the tip i managed to get to the end of the game!