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 Maharshi