Is there anything after the gate? I'm not sure how to progress, if so. Also, if you're done with the puzzle, and go back down after the campsite has been destroyed, and go back, the campsite will be normal again, and the gate will be re-locked, forcing the player to re-do the totem puzzle again.