You'll end up on a long rock balcony with two cave entrances. One is the exit you just came from and the other leads to the dungeon's treasure. Walk to the east cave entrance, but don't go inside.