This is the scenario.
Say I buy some shares of a company X at a certain value. Some time after this, when I am still holding the stock, the company gets acquired by some company Y and as part of that deal, instead of receiving shares in company Y, I get a certain amount of cash for each share I hold.
If this amount per share is greater than the initial value I bought the shares at, will this get taxed as capital gain?
Note: I live in the UK, but this is for a US stock held with a US broker.