The way this works is you have to sell your car with up-to-date road tax on it. If, for example, you had 2 months remaining on your road tax period, you will get an automatic refund for it from the DVLA in the form of a cheque.