If you're not on a month to month AC+ plan you can get a prorated refund by calling Applecare support, but you can't transfer it to another device. I believe you also cannot get a refund if you've used the accidental damage repair services. If you're month to month, you cannot get a refund at all.