Have Tax Questions? Ask a Tax Expert for Answers ASAP
Hi. My name is*****'m looking at your question now and will post my answer or ask for more information here in a short while.
Were the shares sold in May 2019 owned by you before you left the UK in January 2014? If so, were they connected to a business in the UK that you were involved with or just an investment? Were you UK resident in all or part of 4 of the 7 tax years before the tax year you left the UK?
Leave this with me while I draft my answer.
Since the shares acquired before you left the UK were just an arms length investment and not connected to a UK business you were involved in and assuming that they were not covered by any of the three categories under Example 2 in HS278 here then you will not have to pay UK CGT on the gain as if it had occurred in the 2019/20 tax year if you do return to the UK before 5 April 2020 as you will have been non-UK resident for more than 5 years which period started on 1 February 2014. By 31 January 2020 you will have completed 6 years as a non-UK resident. The rule up to 5 April 2013 was five complete tax years. Read under the heading "What’s meant by temporary non-residence" in HS278 here.
If you return to the UK by 5 April 2020, that tax year will be treated as a split year for tax purposes, one covering the period 6 April 2019 to the day you leave Australia and one covering the the day of your return to the UK to 5 April 2020. Capital gains in the period of non-UK residence are not normally taxable in the tax year of return even though you are technically resident in the UK for that year.
The fact that you bought the shares back over 30 days later is not relevant but any gain you make after your return to the UK may be subject to CGT in the UK.
I hope this helps but let me know if you have any further questions.