What did the colonial militia do after the British troops began their retreat?