War Looms as US Forces Quit Main Base in Afghanistan