-->
This is a reference to the Prophet Jonah - see 21:87 and the corresponding notes [82] and [83]. As mentioned in 37:140 , "he fled like a runaway slave" from the task with which he had been entrusted by God, because his people did not all at once accept his preaching as valid: and so Muhammad is exhorted not to give in to despair or anger at the opposition shown to him by most of his contemporaries in Mecca, but to persevere in his prophetic mission.
While inside the whale. See 21:87 and 37:139-148.
This was Zun-Nun, or Jonah, for whom see n. 2744 to xxi. 87-88. Cf. also xxxvii. 139-148 and the notes there. Jonah was asked to preach to the people of Nineveh, a wicked city. He met with hostility and persecution, fled from his enemies, and took a boat. He was caught in a storm and thrown into the sea. He was swallowed by a fish or whale, but he repented in his living prison, and was forgiven. But the people of Nineveh were also forgiven, for they, too, repented. Here is a double allegory of Allah's mercy and forgiveness, and a command to patience, and complete and joyful submission to the Will of Allah.