The resolution switches back to retina, if retina was disabled with the last AutoSwitch command and was re-enabled by a new command.