THE former head of Nato has said the UK's military cannot return to Afghanistan after the country was retaken by the Taliban yesterday.

Lord Robertson, who served as general secretary of the military alliance between 1999 and 2004 – and issued a statement invoking article five of the treaty that provides for collective defence after the attack on the World Trade Centre on 9/11 – said that the UK should focus on increasing its defences against terrorism at home.

The Taliban marched into Kabul yesterday, taking the presidential palace with little resistance while President Ashraf Ghani was forced to flee.

Lord Robertson said on Good Morning Scotland that the speed of the takeover showed a “failure of intelligence” from allied forces.

READ MORE: Nicola Sturgeon says Scotland will step up amid Afghanistan crisis

He described feeling “sad and sickened” by the scenes from the country, where coalition forces had been stationed for 20 years.

“I find it ironic at best but tragic at worst that the anniversary of 9/11 is going to be commemorated in a few weeks’ time with the Taliban back in control of Kabul – that is deeply, deeply depressing,” he said.

But he added that the time for military intervention in the country is over and the focus must shift to stopping terrorist acts on British soil.

“I don’t think we’re going to be back in there again. We can’t go in there militarily – that’s over, that’s finished.

“That’s an episode we’ll have to reflect on and learn lots of lessons from.

“But what we have to do is to make sure that our own defences are much more resilient as a consequence of this particular failure, and we’ve got to watch what the international ramifications are going to be – they will not be good.

“That’s why I think it’s tragic that we will commemorate the disaster that was 9/11 with the Taliban back in control of the presidential palace in Kabul.”

The withdrawal of troops from Afghanistan happened “far too quickly”, he said.

“It didn’t have to be like this. If we had learned the lessons of what happened in Bosnia and Kosovo then a gradual withdrawal based on facts on the ground and success on the ground may have stopped this catastrophe from happening.

“But sadly, we don’t learn from the past, we don’t learn from previous experiences, and therefore a wholesale withdrawal of American forces meant that the country was left in a condition that has now led to the Taliban taking over.”

The UK should act “swiftly and generously” to aid Afghan citizens who helped UK forces during the two-decade conflict.

READ MORE: David Pratt: What now for the West’s failing ‘war on terror’?

Robertson also criticised Foreign Secretary Dominic Raab, who was on holiday abroad last week as the Taliban advanced towards the Afghan capital

“I think it was amazing, staggering, that the Foreign Secretary was still on holiday while Afghanistan was collapsing to the Taliban,” he said.

“You’ve got to be on duty during that sort of period where we are so deeply and intimately involved in it.”

The Foreign and Commonwealth Office said Raab had been personally co-ordinating the UK’s response and returned to the UK yesterday.