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.
9.4m questions
12.1m answers