It might have been (probably was) a filter capacitor, and it did its job, but doing its job means it can't do its job again... so yeah, need to replace it, and should look at a little desktop-sized UPS/power conditioner to put on your desk if you get nasty spikes like that when your power goes...