Continue investing passively through your 401k, Roth, and HSA. But start spending less, and sock away that extra cash into high yield bank accounts. That way you're investing for your future, while covering any emergency needs in case of job loss. I've been working my way up to a 6-9 month buffer for the last year.
This seems like overly simple advice but it's the best advice you can listen to if you think there is a storm coming. Cutting spending and allocating that money to cash reserves while keeping your usual investment strategy (401k / Roth IRA / etc) is the most effective thing you can do.