It ends with the ileocecal valve, which prevents intestinal contents from going into the large intestine too quickly and the backward flow of material.
So! Once the chyme has worked through your small intestine, it passes through the ileocecal valve and hits the cecum, the first part of the large intestine, where, congratulations, your food is now officially feces!