Well, that was the result I could find using your search term that actually showed an idea, so you are right, you don’t “Want to remove mining ability”… technically… if you want to split hairs.
You want to delete the entire ship.
Which… does remove the mining ability when you look at it practically.
So… your own search term actually showed I was right if you aren’t being utterly pedantic.