It depends on your view of the market, and can you remain invested for the time frame where you think the market will remain volatile.
So if you think the market will remain volatile for the next year or so but you can’t remain invested for the next couple of years, you should book out of the positions.
However, if you can remain invested for 1+ years more than you think the market will remain choppy, you shouldn’t consider selling the stocks. So yes, you can look to book out of low-quality stock and invest in better stocks.