Answer:
Midnight shakes the memory.
Step-by-step explanation:
In these lines, the author describes a walk that he had in which he thinks about many different memories. The walk is at midnight, and we know that the narrator feels inspired by the night and the streets in the moonlight. However, the phrase that best demonstrates how the author is lost in thought is "midnight shakes the memory." This expresses how his memories are more vivid as he takes this midnight walk.