It depends on what type of cluster it is. For an imported cluster, you can delete it from Rancher but the cluster and all the deployments remain intact. For clusters where Rancher installed kubernetes and/or provisioned nodes, there is no supported path to then manage the cluster outside Rancher.