tell the adjuster you want to repair it yourself,
let them write the car off as 'salvage' and have the car towed to your house to you can begin repairing it. they will give you the write off *6000 - 500? salvage* so around 5000 at least. then just don't fix it... it's still legally yours, and you got the cash for it. you're not technically buying it back, but yes you're not allowed to buy back