Click Erase Mac in the Erase Mac window, then confirm by clicking Erase Mac. If your Mac restarts with a question mark glowing, press and holds the power button for a few seconds until it goes off. Reinstall macOS after restarting from macOS Recovery.