Hi,
As a UK resident, you would be subject to UK rules on capital gains on the disposal of the shares.
You would be required to report the disposal in a Self Assessment tax return, where a gain arises, in the capital gains section, which on paper, is SA108.
Self Assessment tax return forms
If tax is withheld in the USA, you would need to review the UK/USA tax treaty, regarding capital gains taxation. If you have to pay tax in the USA, you can claim up to 100% of the foreign tax in the foreign section of the tax return (on paper SA106).
Thank you.