The British surrendered at the battle of what?