once they were finally standing back on terra firma , they bid the dragon farewell and made for the closest entrance , which happened to be one of the large boulders scattered across the valley floor .