At your age I would not suggest doing that. If you want to be out of the stock market, then you can sell your stock and simply keep the balance in cash. Assuming that this stock is not held in a retirement account, you would simply owe capital gains tax on the amount of the gain from the sale.
As far as your IRA is concerned, although the stock market can be a scary place, it can still make sense to maintain some kind of investment in the asset class. If you need some help contextualizing this please feel free to reach out.
Adam C. Harding, CFP
Disclosure: For informational purposes only. Not to be considered investment, tax, or legal advice. My responses on Nerdwallet are for educational purposes only and action should not be taken until a thorough analysis has been done by me or your financial advisor. Investing involves risk of loss and diversification does not ensure protection against risk of loss.