How to get rid of the mind? Is it the mind that wants to kill itself? The mind cannot kill itself. So your business is to find the real nature of the mind. Then you will know that there is no mind. When the Self is sought, the mind is nowhere. Abiding in the Self, one need not worry about the mind.
Ramana MaharshiEvery living being longs always to be happy, untainted by sorrow; and everyone has the greatest love for himself, which is solely due to the fact that happiness is his real nature. Hence, in order to realize that inherent and untainted happiness, which indeed he daily experiences when the mind is subdued in deep sleep, it is essential that he should know himself. For obtaining such knowledge the inquiry 'Who am I?' in quest of the Self is the best means.
Ramana Maharshi