While he was in talks with Hastein, the Danes at Appledore broke out and struck north-westwards. They were overtaken by Alfred's eldest son, Edward and were defeated at the Battle of Farnham in Surrey. They took refuge on an island at Thorney, on the River Colne between Buckinghamshire and Middlesex, where they were blockaded and forced to give hostages and promise to leave Wessex. They then went to Essex and after suffering another defeat at Benfleet, joined with Hastein's force at Shoebury.