<p>I can still access kubectl after disabling Kubernetes from Docker Desktop v4.18.0</p>
<p><a href="https://i.stack.imgur.com/LIubu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LIubu.png" alt="Disabled Kubernetes service in Docker Desktop" /></a></p>
<p>On running the <code>kubectl version</code> command, following output is displayed:</p>
<p><a href="https://i.stack.imgur.com/270LG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/270LG.png" alt="kubectl version command in terminal" /></a></p>
<pre><code>Environment details: 
     - OS: MacOS Ventura 13.3.1 (M1)
     - Docker Desktop: v4.18.0
</code></pre>
<p>I want to entirely remove kubectl and related services, so that I can do a fresh install of minikube for local development. Please suggest required steps for the same.</p>

Abhinav Sinha
<p>As per official <a href="https://docs.docker.com/desktop/kubernetes/#disable-kubernetes" rel="nofollow noreferrer">doc</a>:</p>
<blockquote>
<p>After disabling Kubernetes Select Apply &amp; Restart to save the
settings.This stops and removes Kubernetes containers, and also
removes the /usr/local/bin/kubectl command.</p>
</blockquote>
<p>Below troubleshooting steps can help you:</p>
<ul>
<li><p>If you don't have kubectl installed in <code>/usr/local/bin</code>, Docker will
install it for you on startup, so check where the kubectl is located then remove the kubectl binary.</p>
</li>
<li><p>Check if kubernetes is still in the
starting state.</p>
</li>
<li><p>Check if any existing repositories are there using
<code>brew search kubectl</code>.</p>
</li>
<li><p>Try clean / purge data or reset to factory
defaults in the <a href="https://docs.docker.com/desktop/troubleshoot/overview/#troubleshoot-menu" rel="nofollow noreferrer">troubleshooting menu</a>.</p>
</li>
</ul>
<p>Also as @David Maze suggested you can install minikube using <code>brew install minikube</code> without removing kubectl.</p>
