"from Abishai and his soldiers"
Here "the city" refers to Rabbah, the capital city of the Ammonites.
"returned to Jerusalem"