but still the retreat became rout by the end : ten thousand men left floundering in the marsh to be taken prisoner , and the rest straggling ignominiously away north through the countryside , without more than their muskets and their boots , and sometimes lacking those .