<P> A millennium later, Moana, daughter of Motunui's chief Tui, is chosen by the ocean to return the heart to Te Fiti . However, Tui arrives and takes Moana away, causing her to lose the heart . Tui and Moana's mother Sina try to keep her away from the ocean to prepare for her ascension as the island's chief . Years later, after Moana has grown older, a blight strikes the island, rotting the coconuts and dwindling the number of fish caught . Moana suggests going beyond the island's reef to find more fish, but Tui forbids it . Sina explains to Moana that Tui and his best friend tried going beyond the reef, but the latter perished . Moana and her pet pig Pua try conquering the reef but are overpowered by the ocean's tides and end up shipwrecked back on Motunui . </P> <P> Moana's grandmother Tala shows her a secret cave, where a number of ships are hidden, revealing to Moana that their people used to be voyagers . Tala explains they stopped when Maui stole Te Fiti's heart and that Te Kā's darkness is poisoning the island, but it can be cured if Moana finds Maui and gets him to restore the heart of Te Fiti, which she gives to Moana . Tala falls ill shortly after and dies, but not before encouraging Moana to go and fulfill her destiny . </P> <P> Moana sets sail on a camakau found in the cavern, accidentally accompanied by her dim - witted rooster Heihei . Moana is caught in a typhoon and shipwrecked on an island where she finds the stranded Maui, who traps her and steals the camakau, but Moana catches up to him with help from the ocean . She demands that Maui return the heart but he refuses . Maui is accompanied by a sentient "Mini-Maui" tattoo, acting as his conscience . </P> <P> They are attacked by Kakamora--coconut - armored pirates--who seek to steal the heart, but Moana and Maui outwit them . Moana realizes Maui is no longer a hero, and convinces him to redeem himself by returning the heart . Maui first needs to obtain his magical fishhook, which is located in Lalotai, the Realm of Monsters, and is in the possession of Tamatoa, a giant, greedy coconut crab . Moana enters Tamatoa's lair, using herself as live bait to distract him and allowing Maui to climb atop the crab and retrieve his fishhook . However, Maui discovers he cannot control his shapeshifting and loses self - confidence, quickly becoming overpowered by Tamatoa . Moana's quick thinking allows them to escape with Maui's hook . Maui reveals that his first tattoo was earned when his mortal parents rejected him . After reassurance from Moana, Maui teaches her the art of sailing and regains control of his powers . </P>

Who is the crab in moana based on