MKR not recognized by PC USB port after upload of sketch

I have been trying to create a sketch to read two analogs and one digital input. I've struggled with creating arrays to store several million data points without using up all the RAM. I finally believed I had done so and once my latest incarnation of programming genius actually compiled, I sent it to the MKR. I waited for the serial output that allows me to monitor the performance of the data collection but there was none. Ultimately I decided that the program was still flawed and decided to reload the last working version of the program. This time the upload did not go as planned and afterwards my PC began reporting that a USB device was unrecognized by the OS.

I looked at the board and discovered the run light was no longer lit. The power LED was of course on but not the watchdog light (is this incorrect terminology?). I am now facing a dilemma regarding how to default the unit back to a blank program and database without being able to use my PC and the IDE software.

Can anyone point me to a resource that outlines how to recover from a catastrophic program crash such as this? Of course if you just want to tell me I am an idiot, I already know I'm an idiot, but feel free.

TIA

Have you tried quickly double pressing the RESET button to put it into BOOTLOADER mode on a new COM port.

If you can get that far I normally suggest pushing the BLINK or MINMUM example up to the board to clear out the old sketch and returning it to its normal COM port.

Timing can be a little critical but once you get the hang of it then its second nature with errant sketches.

Also a copy of the sketch may be useful but please use CODE TAGS to post it ( </> )

Yes I did thank you!. I'm not surprised this was so easy. I am surprised I couldn't find it anywhere. I'm so used to seeing an IM for something I buy with all of the associated documentation all in one place. I'm still adjusting to the search for each and every little nuance I come across.

Thats why we have these wonderful forums.
We help each other.

BTW the little magnifying glass at the top right works wonders around here even if it does only sort out the google results just for the forum.