he listened for a while as they searched up near the promontory and the road and then they moved off and teddy waited a full hour before he left the cave , waiting to hear if anyone was taking up the rear , and giving the search party enough time so that he would n't bump into them .