Protesters in the Amazon basin have forced Peru's state energy company to shut its crude oil pipeline, a company official said on Monday as the government tries to end weeks of demonstrations over natural resources.