Britain formally ended its combat mission in Afghanistan on Sunday, when it handed over its last base to Afghan forces, the Ministry of Defense said.