Wio Terminal Hung with Adupy

I was playing with ArduPy and can’t get a bad script off the device. It keeps rebooting and rerunning the script. Reset and rest to boot loader just reruns the script, or drops into Arduino mode. Is there a way to reset to factory settings, or to clear the script? The device mounts but crashes/reruns before I can open it to remove the script.