When you sprint and then hit someone while sprinting you will actually unsprint and go to walk mode auto sprint does fix this but some time you cant have auto sprint on so there could be a thing that disables unsprint when you hit some thing while you sprint. And if anything interrupt when you sprint.