The stuff was left for the Afghan army, at their president's request. To stop the Taliban from taking it would require an effective Afghan army, or the US remaining in AFG (which the public opposes).