President Barack Obama waves at a protester being escorted out after interrupting his speech during a campaign rally for Democratic presidential candidate Hillary Clinton in Greensboro, N.C., Tuesday, Oct. 11, 2016. AP Photo/Chuck Burton President Barack Obama encountered a raucous crowd in Greensboro, North Carolina, on his latest campaign outing in support of Hillary Clinton.

"I think I gotta take off my jacket, because we have some work to do," Obama said, as the audience cheered.

While thanking the crowd and looking ahead to life outside the White House, the president joked that he and Michelle Obama were getting ready to pack up.

"Our lease was only for eight years, and we're already looking around ... Bo and Sunny haven't ruined any of the carpets, because we want to get our security deposit back."

The event took a sharp turn early, when two protesters walked in front of the crowd, screaming "Bill Clinton is a rapist" while wearing shirts that bore the same phrase.

Donald Trump, the Republican presidential nominee, helped revive the sexual assault allegations against the former president in recent days, even as he was accused of promoting the same in a leaked 2005 audio recording published on Friday.

Trump doubled down on the attacks over the weekend, inviting some of Bill Clinton's accusers to the second of his three debates with Mrs. Clinton.

A protester shouts slogans as U.S. President Barack Obama speaks during a campaign event for U.S. Democratic presidential candidate Hillary Clinton in Greensboro, North Carolina, U.S. October 11, 2016. REUTERS/Carlos Barria

It is one of many feuds in which Trump is currently engaged, which includes a bitter war against his own party, just weeks ahead of Election Day.

Obama dismissed the protesters: "Those were some folks who were auditioning for a reality show ... If you can’t get your own rally, don’t come mess up somebody else’s rally."

And then he leaned in on Trump: "He doesn't have the judgment, or the temperament, or the knowledge — or even the desire to obtain the knowledge ... that a president needs to have."

"When [Trump] asks you what do you have to lose, the answer is you've got everything to lose."

You can watch the entire rally below: