Investigate what the mind is, and it will disappear. There is no such thing as mind apart from thought. Nevertheless, because of the emergence of thought, you surmise something from which it starts and term that the mind. When you probe to see what it is, you find there is really no such thing as mind. When the mind has thus vanished, you realize eternal peace.