If you’ve got metal shavings, you’re engine is toast. Your only viable option to not completely lose your ass, is to replace the engine. I’d go used. Drive it for the six months. Then sell it.
Otherwise you are just throwing away $10,000 that you still have to pay. Even if the car is junk.