Stick to your portfolio plan
Long-term performance of retirement portfolios is dependent on owning stocks as part of your target allocation. Your portfolio will do better, however, if you rebalance it regularly, which in times of higher stock markets means selling some shares to buy other investments, such as bonds. Sticking to a steady rebalancing plan actually sells high to buy low, programmatically.