No. You are free to withdraw your money whenever you want. However, investing is generally a long-term proposition so you’re more likely to see better returns the longer your money is invested. But as with all investing, there is an element of risk and returns aren’t guaranteed.