Well not a great answer, but maybe you could use one of the UDFs and check for any running applications and then attempt to gracefully shut them down or gracefully log the user off if you really need to.

Remote wakeup typically refers to powering on the unit when it is off.

Why do you need to undo or comeback from the screen saver mode, what are you trying to do?