Investments in the UK economy must be kept for a period until permanent residence is granted. When this status is obtained, the investor can return their investment.
This means that if an investor invests £2m, they will sell their shares and get their money back after 5 years of residency. Those investors who have invested larger amounts in the real economy and have obtained a residence permit after 2-3 years can sell their shares after that period.