he found a place to hole up in some rocks and spent a miserable night , shivering in the cold and frustrated by his lack of progress , both of finding supplies and making his way to the faid pass , although he was closer to the pass than he realized .