Gaddafi agreed to abdicate & go into exile before 2011 coalition assault/lynching
I came across this surprising article today - Gadhafi of Libya had contacted the US before the coalition bombing campaign which also armed various rebel groups that are still at war.
He offered a peaceful transfer of power where he woudl abdicate and go into exile - he even took "confidence building" measures of moving his armed forces away from the cities.
He recieved no response and eventually after the passing of a UN resolution to "protect civilians" the Western coalition of nations, mainly France and the UK went to war to oust him.
Libya has remained broken and in chaos ever since.