Unless there is supercapacitor or capacitor, there is no way to retain the data. Measure the voltage on the power pin when not powered. If there is none, your assumptions about data retention are wrong. If there is, then just short the power to the GND.