Yahweh spoke to the fish, and it vomited out Jonah on the dry land.
Irenaeus looks upon the history of Jonah as the imaging of man’s own history . “As He allowed Jonah to be swallowed by the whale, not that he should perish altogether, but that, being vomited forth, he might the more be subdued to God, and the more glorify God Who had given him such unlooked for deliverance, and bring those Ninevites to solid repentance, converting them to the Lord Who would free them from death, terrified by that sign which befell Jonah (as Scripture says of them, ‘They turned every man from his evil way, etc. ...’) so from the beginning, God allowed man to be swallowed up by that vast Cetos who was the author of the transgression, not that he should altogether perish but preparing a way of salvation, which, as foresignified by the word in Jonah, was formed for those who had the like faith as to the Lord as Jonah, and with him confessed, “I fear the Lord, etc.” that so man, receiving from God unlooked for salvation, might rise from the dead and glorify God, etc. ... This was the longsuffering of God, that man might pass through all, and acknowledge his ways; then, coming to the resurrection and knowing by trial from what he had been delivered, might be forever thankful to God, and, having received from Him the gift of incorruption, might love Him more (for he to whom much is forgiven, loveth much) and know himself, that he is mortal and weak, and understand the Lord, that He is in such wise Mighty and Immortal, that to the mortal He can give immortality and to the things of time eternity.”