Buy it back from insurance and resell. You'll make out better in end. Or fix and drive the crap out of it. My GT and Focus RS are both auction cars that I fixed. Now I don't worry about anything happening to them.
I would be amazed if a body guy trying to beat the book by as much as possible would do anywhere near as good a job as the factory robots. And paint/body repairs are never 100% when some panels are left alone and others are painted.Not surprised the op wants to sell after it’s repaired.
I’m 64 years old and was taught at a very young age that with this kind of damage your car will never be the same.
Today with modern repairs, my old thought process may be just old wives tales.