Thanking them for their service and then dropping them as soon as he can.
Check it out:

President Obama made a surprise visit to Afghanistan on Sunday as his administration plans to end the nation’s longest war at the end of this year, and faces intense criticism over the medical treatment of American veterans.

“I’m here on a single mission, and that is to thank you for your extraordinary service,” Obama told a rally of some of the 32,800 American servicemembers serving in Afghanistan, many of them making their last tour of duty.

Obama also announced that he will decide soon on possible troop levels for a post-2014 residual force to be left in Afghanistan to keep training local security forces and conduct counterterrorism missions.