@human101010 with the power on, click the power button and it will rest and start the sketch over.

There is a more complicated procedure somewhere on the internet which I cannot find rn, on mobile!

Did it ever connect? M5 did have supply different USB chips, you may need the CH340 patch.