After settling with the insurance company for a totaled car do you keep the car or does the insurance compnay?

Legally, if the company pays you for the totaled vehicle, it belongs to them. You can offer (if they don't) to by the scraps back. This would be deducted from your settlement and you would be paid the difference.