Proxmox remove last node from cluster is unsupported by pvecm delnode, and the error is useless. You get ‘Cannot delete last cluster node’ and that’s it. The fix is to edit corosync.conf and expected votes manually.

What pvecm delnode Actually Does
On a multi-node cluster, pvecm delnode <node> removes the node from the cluster config and reduces expected votes. It’s clean. On the last node, it refuses because quorum would be impossible. That’s the wall.
The Unsupported Final-Node Case
You have one node left. You want it standalone. The official docs say reinstall. That’s heavy. You can instead strip the cluster config by hand.
First, stop corosync and pve-cluster:
systemctl stop corosync pve-cluster
Then edit /etc/pve/corosync.conf. Remove the nodelist section entirely, or leave just the local node. Set quorum { expected_votes: 1 }. If the file is empty after removing the nodelist, that’s fine.
Now restart:
systemctl start pve-cluster
Check pvecm status. It should say standalone node, no quorum needed.

What the Forums Get Wrong
People mix expected-votes edits with manual service stops and then wonder why the GUI still shows a cluster. The order matters: stop services first, edit config, restart. And don’t touch /etc/pve/corosync.conf while pve-cluster is running — it gets overwritten.
If you’re on PVE 8, this still works. I tested it on a throwaway nested cluster. Two nodes, then removed one with delnode, then did this on the survivor. Came up standalone clean.
My Take
Reinstalling is the safe answer, but for a homelab this manual fix is fine. Just back up /etc/pve/corosync.conf first. If it breaks, reinstall was the fallback anyway.
Related: Proxmox Random Freeze: Diagnose It in Order, Not by Shotgun.