Critics of the hasty exit from Afghanistan warn about long-term implications for the United States and its partners.