thousands of british troops and civilians were trapped and hundreds murdered as the uprising spread up and down the nile valley , for it had been well planned by a group of able and disgruntled egyptian officers who had seen opportunity in britains weakness after dunkirk and refused to allow an italian army to occupy their nation .