As per the TV Licensing website, UK residents can request a refund up to 14 days prior to no longer needing their TV licence.