Yes, you can place the switch back into the ON position and the shutdown will be cancelled. I've done it before on tha airplane.
I don't see any danger in doing this. The APU stays at 100 % RPM during it's cool-down (some APU shutdown cooldowns have the APU lower it's RPM, the B767-400 and B777 come to mind)