How to disable systemd-resolved in Ubuntu?

Ubuntu 20.04 are not natively installed with systemd-resolved. NetworkManager does the right thing when used with a VPN providing a DNS and it is pre-pended to /etc/resolv.conf. However when systemd-resolved is installed and enabled, the DNS provided by the VPN is ignored.

The solution is to disable systemd-resolved.