We study the sudden quench of a one-dimensional p-wave superconductor through its topological signature in the entanglement spectrum. We show that the long-time evolution of the system and its topological characterization depend on a pseudomagnetic field Reff(k). Furthermore, Reff(k) connects both the initial and the final Hamiltonians, hence exhibiting a memory effect. In particular, we explore the robustness of the Majorana zero-mode and identify the parameter space in which the Majorana zero-mode can revive in the infinite-time limit.