Pausing, closing lid and exiting attempt to save the SRAM. Note that it only saves if it was modified, though.