It was because of McConnell that Trump wasn't booted from the WH. He didn't think it was necessary.
From that article.
McConnell ultimately voted against convicting Trump on February 13, 2021, despite blaming him for the attack.
"There is no question that President Trump is practically and morally responsible for provoking the events of that day," McConnell said on the Senate floor that day. "The people who stormed this building believed they were acting on the wishes and instructions of their president. In that same speech, McConnell repeated the very same argument put forward by his Republican colleagues — that a former president cannot and should not face conviction from the Senate.
"If President Trump were still in office, I would have carefully considered whether the House managers proved their specific charge," he said. "But in this case, that question is moot. Because former President Trump is constitutionally not eligible for conviction."