Sometimes local car dealers are willing to buy your car if the car is still in decent condition. Be aware that after your car hits a certain amount of miles, a dealer is probably not going to be interested. If you want to get the most money possible for your car, this is probably not the best option, but it may be worth exploring if your car has lower mileage and it’s possible to get it running again.
Before going to a dealer, it is probably best to get a couple of other opinions from a trusted mechanic, family member, or friend that has some understanding of the car market. Collectively, they can help you decide if your car is worth selling to a dealer.