If you owe significantly more than your vehicle is worth you also have the opportunity to simply surrender the vehicle to your creditor and the shortfall debt will be included in your bankruptcy.
Your creditor might also seize the vehicle even if you would like to continue making the payments because once the vehicle has been released to them they have the right to seize the car.
If you have a lien against your vehicle but the value of your vehicle is significantly more than the amount of the lien, your trustee will either give you the option of keeping up the payments on the vehicle or will seize the vehicle and sell it.
If you cannot afford to keep up the payments but would like to keep your car you might want to consider a consumer proposal.
What if I Have Clear Title (No Liens) Against my Car?
If you own your car free-and-clear you will have the chance to pay the trustee the fair market value of your car and you will be able to keep your car in bankruptcy or, if you are unable or do not want to pay the fair market value, you will have to surrender your car to your trustee who will sell the vehicle and distribute the funds to your creditors who are listed in your bankruptcy.