At least 59 people were killed and 175 injured in Saturday's attack on a Nairobi shopping centre, Kenya's President Uhuru Kenyatta has said.
More than 1,000 people were brought out of the Westgate shopping centre and the rescue operation continues, Mr Kenyatta said at a news conference on Sunday.
Between 10 and 15 attackers - thought to be militants from the Somali al-Shabab movement - are still inside.
Some civilians are still trapped, either as hostages or in hiding.
'Appalling brutality'
"The criminals are now located in one place within the building," Mr Kenyatta said.
"With the professionals on site, we have as good a chance to neutralise the terrorists as we could hope for."
He thanked those who had helped with rescue and relief efforts, and asked other countries not to issue travel advisories against visiting Kenya.
Mr Kenyatta's nephew and his fiancee were among the dead, the president said.
The UK Foreign Office has confirmed that three Britons have been killed, and says the number is likely to rise.
French, Chinese, Ghanaian and Canadian citizens are also among the foreigners confirmed killed, along with a dual Australian-British national.
British Prime Minister David Cameron called it "an absolutely sickening and despicable attack of appalling brutality".
There is a heavy military presence both in and around the shopping centre. Sporadic gunfire can be heard from inside.
There are reports that the gunmen are currently holed up in a supermarket. Mr Kenyatta said there were reports of women among the attackers but these could not be confirmed.
BBC security correspondent Frank Gardner says a security source told him that at least one of the attackers was a woman who appeared to have a leadership role.
The Somali militant group al-Shabab says it carried out the attack in response to Kenyan military operations in Somalia.
There are about 4,000 Kenyan troops in the south of Somalia, where they have been fighting the militants since 2011.
'Watching and monitoring'
Kenyan officials said "major operations" were under way, with police and soldiers preparing an apparent bid to bring an end to the stand-off.
The BBC's Will Ross at the scene said it would be extremely difficult for the military do a quick raid on the building because of all the people inside.
Al-Shabab has claimed there are at least 36 hostages, but this cannot be independently confirmed.
Our correspondent says the full extent of the attack will not be known until the military is back in control.
Meanwhile, people are still escaping from the building.
Cecile Ndwiga got out on Sunday morning, saying she had been hiding under a vehicle in the basement car park but could not leave earlier because "the shootout was all over - left, right".
The authorities have asked journalists to exercise caution when reporting military developments because the gunmen might be monitoring the media.
The authorities are also appealing for Kenyans to donate blood. Big queues have formed at a Nairobi donation centre.
The attack began at about 12:00 local time (09:00 GMT) on Saturday, when the militants entered the Westgate centre, throwing grenades and firing automatic weapons. A children's day was being held at the time - children are among those reported killed.
Witnesses report seeing many bodies strewn round tables of unfinished fast food - with pop music left playing in the background.
Some witnesses said the militants told Muslims to leave and said non-Muslims would be targeted.
"They came and said: 'If you are Muslim, stand up. We've come to rescue you'," said Elijah Lamau.
He said the Muslims left with their hands up, and then the gunmen shot two people.
The US State Department said it had reports that American citizens were injured in what it called "a senseless act of violence".
Prominent Ghanaian poet Kofi Awoonor - who was attending a literary festival in Nairobi - also died, as did a Chinese woman.
UN Secretary General Ban Ki-moon condemned the attack and said one of the victims was a retired staff member from the UN children's agency Unicef.
Security experts are reported to have warned that the Israeli-owned complex was in danger of being subjected to a terror attack.
Al-Shabab, which is part of the al-Qaeda network, has repeatedly threatened attacks on Kenyan soil if Nairobi did not pull its troops out of Somalia.
This is one of the worst incidents in Kenya since the attack on the US embassy in August 1998.
Are you in Nairobi? Are you, or is someone you know, affected by these events? Send us your experiences using the form below.