When his people would not believe, Yunus left them in anger, thinking Allah would not restrict him.
Qur'an: Yunus called the people of Nineveh to Allah, and they rejected him. He went away in anger, thinking that Allah would not decree hardship for him (21:87).
Qur'an: He ran to a laden ship (37:140). At sea, lots were cast to lighten the ship, and he was among the losers (37:141).