You need to unplug the SD Card, format the card, rewrite the OS image, and plug it back in to safely reset the Raspberry Pi OS.