If I remember correctly, the story is that Napoleon's cousin was fucking around with a gun, it accidently went off and Kadafi ended up shot.
I think that he eventually (after strong urging from others) turned himself in for it.
Can't remember so take this with a grain of salt.
What happened with the cousin that shot him?