Remove Maas from a 'node'

I have a node that was deployed from a MAAS server. Sadly, the node survived the MAAS server and now resides all alone.
It works, but it takes a lot of time to do a reboot.

I’ve been looking, but I can’t find any documentation on HOW to remove the MAAS components that are still on the node. Is there a way to do this?