Era ends and uncertainty looms after U.S. forces leave main Afghanistan base