Yes, you can write to them. Search "Virgin Media Terms and Conditions" and then scroll down to Section N. Use a recorded delivery in case of problems, and leave the direct debit in place for a couple of months for them to collect the final payments. Make sure they get their equipment back, otherwise they'll regard that as an unpaid debt.
I'm a Very Insightful Person, I'm here to share knowledge, I don't work for Virgin Media. Learn more
Have I helped? Click Mark as Helpful Answer or use Kudos to say thanks