So - you sell a car with a lien on it

Thank you captain obvious.

Point still stands that the OP will be responsible for the LOAN.