RAM being a volatile form of memory, doesn’t retain data for long. It only stores data as long as your OS thinks it's necessary, or while you are using a task. Once you close the task or shut down the power supply of your PC, there is no way you can retrieve what was present on your RAM.