Yes, had to do this once as well after putting the switch to OFF then realised we needed the APU for take off. While the APU is in its cooldown cycle (60 seconds), carefully replacing the switch to ON will illuminate the GEN OFF BUS light again and cancels the shutdown.