You can actually stop saving (and investing) for retirement before retirement. That's part of my plan. The idea is to get close enough to your target portfolio size that, left alone for a few years, it will get across the finish line by itself with no added investments.
Then, downshift your work to (say) 50% of what you're doing now, assuming that's enough to cover expenses after taxes.
You could do the same without downshifting, but the higher spending this would entail (to avoid adding investments) runs the risk of getting used to spending a lot more than what your portfolio may allow over the following decades.