Keep your heart, what should be dealt with is the true nature of your heart. Don't be disturbed by external things, don't be confused by noise, don't be blinded by beauty and ugliness, and keep your heart at ease.
The cessation of thoughts refers to pure inaction. It is often said that it is the end of "greed, anger, and ignorance", but it also refers to "no distracting thoughts" and "the heart is like a clear sky without clouds." It is an extension of "empty".