No, it is fine to pull out some troops to stop the fighting but keep some there to keep the peace and stability
Pulling out entirely endangers so many of our allies and innocent civilians as well as reflects poorly on our image and commitments to the rest of the world