You can get a relief if you’re re-importing goods into the UK that have previously been exported or transported from the UK. This is known as Returned Goods Relief.
You can find further guidance here:
Pay less import duty and VAT when re-importing goods to the UK
Exports: customs procedure codes