Complex sentence: The British regiments weren't able to occupy the entire territory and remained in camps at the foothills of the mountains, while the harsh and dangerous upland terrain remained unexplored.
Split into simpler sentences: The British regiments weren't able to occupy the entire territory and remained in camps at the foothills of the mountains. The harsh and dangerous upland terrain remained unexplored.