Luckily, Sinbad's parrot saves him before he drowns and he manages to swim ashore to a deserted island, where he hallucinates dancing hula girls. He then finds the same pirates planning to bury the treasure on the island and tricks them into fighting each other by throwing coconuts at their heads from atop a tree, but is thrown off by an angry ape and discovered. They tie him to a tree and torment him until realizing that the tree was actually the leg of a giant, fire-breathing Roc, who overpowers the pirates.