Check out example codes for "unity stop rigidbody momentum". It will help you in understanding the concepts better.
Code Example 1
RidgidBody.velocity = Vector3.zero;
RidgidBody.angularVelocity = Vector3.zero;
Learn ReactJs, React Native from akashmittal.com