Let us consider two bodies (A and B) lying on a surface at a certain distance from each other. Let A be accelerating to the right, towards B and hence, the force experienced by A be F. When A collides with B, A would exert force F on B and thereby also experience a force F in the opposite direction by the third law of motion. This should bring A to rest immediately. However that isn't the case in reality. An accelerating body on collision doesn't come to rest immediately. Why?
Edit: The force that was accelerating A would remain there throughout the process.