This is straight up theft. There’s no need to get into the details of contract law, ‘as is’ etc. The ownership of the car changed hands the moment the check was handed over, and the title handed back. At that moment, the car in its extant form, belonged to the buyer.