God created a great wind with which He brought Jonah and his fellows to their knees in Jonah 1:4. God later creates another great wind with which to teach Jonah something else (Jonah 4:8). Jonah ought to have perceived the same hand of the same God at work with him. Jonah's life "ebbed away" inside the fish (Jonah 2:8)- and a very similar word is used about his experience as he sat under the gourd (Jonah 4:8). In the fish, Jonah prayed that God would save his life, and was heard. But when he was made to feel the same again, he instead prayed God to take away his life. Perhaps this shows that even when we respond well to circumstances, those same circumstances may repeat in order to test us as to whether we will continue to make that right response.

2:8- see on 1:4

4:2 see on Joel 2:14

4:8- see on 1:4