You would have to pay capital gains arising from a takeover with the amount depending on whether you have held the shares for more than a year.