Complex sentence: When it emerges from the water, Māui goes to find a priest to perform the appropriate ceremonies and prayers, leaving his brothers in charge of the fish.
Split into simpler sentences: When it emerges from the water, Māui goes to find a priest to perform the appropriate ceremonies and prayers. In the meanwhile, leaving his brothers in charge of the fish.