Don't think you can do much with it when the PC shuts down unless you warn the Arduino through software and have it complete its actions before the PSU shuts down.
Unless you add a battery which might not be the best idea.
1 Like