There was never going to be a way out of Afghanistan that was anything other than chaos. For 20 years their army has failed to learn a single thing or operate with any integrity at all. They were always going to buckle at the first push from ANY outside force, be it Taliban or anyone else.
The moment the US committed troops to that land, everyone knew how it was going to end, because a decisive military victory against a guerrilla army simply isn't possible. People stick their AK-47 under the floorboards in the shed, go back to work, and wait... until they take it out again.
I have never seen or heard any practical plan for any troops to exit from Afghanistan, once committed. Never.