The withdrawal saw tens of thousands of Afghans desperate to flee a return of hardline Taliban rule.