After the mechanical waves passes by, the particles of the medium will settle right back at their rest position (A).
It doesn't matter whether the wave was a longitudinal or a transverse one.
7.3m questions
9.7m answers