Portions of it had already been built. According to NPR: "TC Energy had begun construction on the pipeline last year and said about 300 miles of the $8 billion project had been built. It would have carried oil from landlocked Alberta to the U.S. Gulf Coast".It had not yet been built, so it could not have been shut down.
No, he did not need to escalate. Trumps plan was to leave about 2500 troops plus airpower to back up the Afghan government forces, and all NATO members agreed that it was a good plan. Biden just skedaddled and left millions of dollars of military equipment for the Taliban andhis bumbling got 13 U.S. service people killed. Most people were not surprised because as the former Sec. of Defense Bill Gates said Biden has been wrong of foreign policy issues his whole career. On the Bin Laden raid, Biden was the only senior Obama official who said not to do it.