chariah escaped into a small network of caves beyond the grotto , leaving the worm to thrash about , searching blindly for its escaped prey and causing avalanches as it did so , until finally it retreated back into the rocks and whatever subterranean lair it had come from , taking the tantradox and its pet sharks with it .