Uenuku wandered the world searching for his wife. He searched until he was old and frail. Rangi the sky father noticed this and took pity on Uenuku, and changed him into a rainbow so that he could join his family in the sky, where they still live to this day and watch over their descendants.