On my first trip to the region we decided to sell my old Peugeot in Nouakchott. Buyer was the chief of police, name 'Baba'.
NO PROBLEM!!!! he reassured us when I pointed out the little tag in my passport. What could possibly go wrong?
So I gave him my passport, and then I didn't see it for three days (Soon!!! Baba said when I called him). Couldn't go out on the town, as the police were giving me a hard time without passport.
Finally I got it back and there were some new stamps and a lot of handwriting in it.
NO PROBLEM! Baba repeated as we continued with the Landcruiser towards Mali.
But at the border exit, customs guy jumped on me shouting when he checked the passport. Took 10000 CFA to calm him down iirc.
No you cannot sell it legally, but you can - if you're prepared to pay your way out of it.
Much easier in Mali or Burkina where the laissez-passer is not written into the passport.
What do people do when they have an accident and the car is trash? Pay a fine? Jailtime?
ps - I suggest sell the laptop