The second one wasn’t forced to flee, he died, and his brother took over — and his brother was forced to flee by “The Glorious Revolution” which resulted in the joint reign of William III (and II of Scotland) and Mary II.
He did flee, but then came back and had riotous time as king.