I went away for 3 weeks, and when I came back, I noticed that my chard bolted. Is there any way to salvage them, or are they done once they've boted and are flowering?

and I also found that all my worms in my compost bin died Not sure what happened to them, but the bin is just soup now. Very sad.