You gotta have a Plan B always. I was mid-set at a festival once, laptop just dies on me. Crowd's loving it, but my brain's going into panic mode. Luckily, I had a secondary controller that I'd cobbled together with some old mixers and a Mac Mini, just in case. I quickly switched over and finished the set without a hitch.
It's all about prep, my friends. You gotta think like a backup dancer - always knowing your move, anticipating a misstep. Get that secondary controller hooked up to your system, or have a fully functional setup with a spare computer or tablet. Some of us even use our phones as backup mixers, but that's a whole different level of setup hell.
I also prep all my music on CD and USB - just in case something goes wrong. It's old-school, I know, but having those redundant drives can be a lifesaver. When in doubt, throw a CD in the player and get back to the show. Trust me, no one knows the value of a good old-fashioned CD player until disaster strikes.