The Interpretation of Dreams by Sigmund Freud Chapter 8 Page 34

the reappearance of the perception this manifestation will immediately repeat itself (perhaps as a movement of flight) until the perception has again disappeared. But there will here remain no tendency again to occupy the perception of the source of pain in the form of an hallucination or in any other form. On the contrary, there will be a tendency in the primary apparatus to abandon the painful memory picture as soon as it is in any way awakened, as the overflow of its excitement would surely produce (more precisely, begin to produce) pain.

The deviation from memory, which is but a repetition of the former flight from perception, is facilitated also by the fact that, unlike perception, memory does not possess sufficient quality to excite consciousness and thereby to attract to itself new energy.