The abrupt withdrawal is a self-inflicted wound to US global influence, a superpower retreating from its own legacy.