One of my kids while learning more about bitcoin started bitcoind on my mac. Now I am unable to stop it. In my activity monitor, it shows a process named “bitcoind”. I have stopped that process from the activity monitor various times but that doesn’t help. It starts again after some time or in the next boot session. It has been taking a lot of my laptop space (>100gb). I am running low on space and I need to stop it now. This has been happening regularly. As a temporary solution, I used to go to /Users/(name)/Library/Application Support/ and delete the “Bitcoin” folder from there. But that’s no proper solution to end it completely. I have tried a bunch of stuff using bitcoin-cli in the terminal. However, I am unable to stop it.
bitcoin-cli stop returns
error: couldn't connect to server: unknown (code -1) (make sure server is running and you are connecting to the correct RPC port).
Can someone please tell me what should I do to stop the bitcoind?