he could not keep up with the hunting elves all the time they were out , so he never discovered the ways out of the wood , and was left to wander miserably in the forest , terrified of losing himself , until a chance came of returning .