eventually, he looked down from the heavens and saw that his dog had become thin, sad, and hungry, and right there he decided that he would return to the cave. upon his return, both master and dog were happy, and upon scratching her, the dog instantly vanished. in her place stood a dakini. the dakini told him that he had learned that there are greater things than temptation, and helped grant him realization. he attained realization, and returned to kapilavastu, where he lived a long life for the benefit of others.