Now the Lord provided a huge fish to swallow Jonah, and Jonah was in the belly of the fish three days and three nights… And the Lord commanded the fish, and it vomited Jonah onto dry land. (Jonah 1:17, 2:10).
But the Jonah story is one of a great number of stories of heroes swallowed by beasts, and certainly nothing in the story indicates a spacecraft. Consider the parallel stories. First, Heracles was swallowed by a sea monster and killed it from within in order to rescue Hesione outside the walls of Troy. Ancient art depicts this creature as a skeletal monster, possibly the fossilized remains of an Ice Age mammal, as Adrienne Mayor suggested. (See here, with correction.)
An extremely similar tale is that of Perseus and Andromeda. While the most common version of the story shows Perseus simply slaying the sea monster who threatens the maiden, Lycophron, in the Alexandra (834-42), records a variant version where Perseus is swallowed by the monster and kills it from the inside out:
And he shall visit the towers of Cepheus and the place that was kicked by the foot of Hermes Laphrios, and the two rocks on which the petrel leapt in quest of food, but carried off in his jaws, instead of a woman, the eagle son of the golden Sire – a male with winged sandals who destroyed his liver. By the harvester’s blade shall be slain the hateful whale dismembered…
Marduk grasped the spear, he split up her belly,
He clave open her bowels, he pierced [her] heart,
He brought her to nought, he destroyed her life.
He cast down her carcase, he took up his stand upon it…
M. Scaurus, in his ædileship, exhibited at Rome, among other wonderful things, the bones of the monster to which Andromeda was said to have been exposed, and which he had brought from Joppa, a city of Judæa. These bones exceeded forty feet in length, and the ribs were higher than those of the Indian elephant, while the back-bone was a foot and a half in thickness.