Lets take for example a mass pushed by some force F. The mass rests on a horizontal surface with friction. F is large enough that the object is moving and a kinetic friction force is applied on it. After some time I stop pushing the mass, from this moment till the mass stops what kind of friction works on the problem? (kinetic or static).
Kinetic friction acts till the body is in motion. As soon as it stops, no friction acts on it unless pushed by an external agent with force F<= Max. Static Friction.