Mac 911

Can’t erase your Mac’s startup disk? Try Internet Recovery as a last resort

You might be trying to erase the recovery partition, which you can’t do. Here’s how to erase the disk.
macos high sierra recovery mode reinstall
Apple