No, they left the Iraqi Army with the equipment they had given it. US forces left in a long planned withrawal without much trouble.
The Iraqi army went through a crisis moment in 2014 when part of it collapsed when attacked by ISIS, but it recovered and took back its lost territory. With a lot of external help it must be said.
We went back in to help and the Iraqi asked us so that was okay.