Cash out. Wait for the bust. Buy back in.
Nobody would advocate actually withdrawing from an investment account. Just move it to safer investment options.
Even if you passively invest in a mutual fund, the funds internal transactions show up as capital gains that get reported to the IRS, and you have to pay the tax.