Every scene here is directed by The Lord Almighty. He is the God of creation. He has total authority over all the animals He has created. In Genesis 1:26 we read that He gave that authority to man too. Although this was maybe not the first thought Jonah had here.

This must have been the worst moment of the life of Jonah. He was inside a fish, not knowing if he would ever get out. He could do nothing to help himself and must have been overcome with remorse. But nothing in this chapter implies that he regretted his rebellion.

The prayer from inside the fish started with recognition that God had already saved Jonah from the sea. He talked of the prayer already answered. So we can suppose that was a prayer prayed quickly as he was thrown overboard or was desperately trying to swim in the raging waves.

This part of the story, (the three days and three nights) is much harder to believe than the fact that Jonah was actually swallowed by the fish. The fact that there was enough air in the belly of the fish for him to breathe and stay alive for three days!

God is still the Lord of creation, and uses His creation in His way to fulfill His plans and purposes, in His perfect timing. It must have been very unpleasant for Jonah to be swallowed by this sea creature. But it had the effect God wanted, Jonah repented and prayed.