Money that enters the stock market through investment in a company's shares stays in the stock market, though that share's value does fluctuate based on a number of factors. The money invested initially in a share combined with the current market value of that share determine the net worth of shareholders and the company itself.