https://history.army.mil/brochures/kw-chinter/chinter.htm
General Walker realized that it was necessary to withdraw his Eighth Army from its positions before the Chinese could move around its still-open right flank.
Caught wrong-footed by this quick withdrawal, and needing time of their own to refit and resupply their troops, the Chinese did not immediately pursue.