Hi Adam Payne,
Yes, there would potentially be a capital gain, as only married couples and civil partners are allowed to transfer assets without capital gains liability, unless the shares are transfer to charity.
In all other situations, capital gains tax may be payable.
Please have a look here:
Tax when you sell shares
To help you work out if there is a gain.
Thank you.