Seems like you ought to be able to file for a trade well in advance of the blackout window, i.e. you were going to sell x shares no matter what. Probably not the case, just saying it could/should be
Ouch, ESPP that you can't immediately sell are indeed really bad especially when everything is on fire.
I've heard that Cloudflare has a mandatory 1 year holding period on their ESPP