Recovery of a vertically stratified seabed in shallow water ∗