The pyloric sphincter ensures that chyme does not backflow from the small intestine back into the stomach.
https://bvetmed1.blogspot.com/2013/03/ruminant-abdomen-lecture-157.html