Sinbad succeeds in discovering a way out from the belly of the whale by pouring all the gold inside the whale, which makes it spit out anything; Sinbad and the sailors come out of its belly.