A body moving over the surface of another body suddenly comes to rest What happens to friction between the two surfaces?

The force of friction will be present only so long as there is relative motion between the two bodies and it automatically disappears as soon as the relative motion ceases.