When you sell your vehicle, the tax doesn’t transfer to the new owner. Instead, you’ll be reimbursed for any complete months of unused tax.
Similarly, if you declare your vehicle as off-road, you’ll receive a refund for the unused portion.