Outgoing Democratic Party chair Debbie Wasserman Schultz delivered emotional remarks before a prominent Jewish Democratic group where she praised her own work, acknowledged near exhaustion, and referred to her own troubles as she leaves her chairmanship under a cloud.

'This has been a difficult week, there's no question about it,' she told members of the National Jewish Democratic Network, a lobby organization where she once worked.

'Sometimes you just have to take one for the team, and that's okay, that's okay,' she said in a small room inside the Philadelphia convention center at what should have been her crowning achievement: the night her favored candidate Hillary Clinton formally accepted the party's nomination as the first female major party nominee.

'The motto that I still live by,' she told a small crowd, is that, 'I might not always win the day. I might not convince everybody that I'm right. But you can be damn sure I'm never gonna lose because I've been outworked. That is a hallmark of our people. We persevere. We stay focused. We stay together. We lock arms. And we never forget where we came from.'

Scroll down for video

Debbie Wasserman Schultz spoke at the National Jewish Democratic Network today, pictured above, a lobby organization where she once worked

The Jewish Telegraphic Agency posted video of the event, and reported that Wasserman Schultz leveled a serious charge at Donald Trump on the way out the door – going so far as to accuse him of treason, a capital offense.

'Extremism gets us nowhere except for really careening off the deep end,' she said.

'This is a man who yesterday suggested that the Russians – encouraged the Russians to hack Hillary Clinton’s campaign’s emails. I mean, encourage a foreign actor to engage in espionage!

'For a presidential candidate to encourage that to happen again – I mean, it’s treasonous. It’s vicious. It’s unacceptable,' she said.

Wasserman Schultz spent her final days at her powerful post in a strange purgatory, where she continues to get perks of the job – including a police escort and a luxury box – even as fellow Democrats grouse that she should have been ousted a long time ago.

'This is a man who yesterday suggested that the Russians – encouraged the Russians to hack Hillary Clinton’s campaign’s emails. I mean, encourage a foreign actor to engage in espionage! For a presidential candidate to encourage that to happen again – I mean, it’s treasonous. It’s vicious. It’s unacceptable,' said Wasserman of trump, pictured above during an Iowa campaign rally today

Democratic Party chair Debbie Wasserman Schultz is in her final hours as DNC chair. Her tenure ends Friday. She is pictured here waving to the Florida delegation at breakfast on Monday during the first day of the DNC

In just the latest oddity of her situation as the convention wraps up in Philadelphia, Wasserman Schultz is to be honored at a special event organized for her by the National Jewish Council, where other House Democrats will be in attendance.

'It had been planned for a long time,' said one organizer. 'We love Debbie. All the other things going on just make it more meaningful.'

The event fits in with the parallel world in which Wasserman Schultz has spent her final days. She has traveled around Philadelphia, and addressed a delegation breakfast - where angry Bernie Sanders protesters heckled her remarks.

According to a report in Politico, Wasserman Schultz has spent her final days having an aide court donors, running around town to attend events using a police escort, and otherwise using a suite at the Wells Fargo center as a base of operations.

At the same time, Democratic operatives are spilling the beans on what appears to have been a chaotic tenure at the party.

In one incident described by the publication, DNC staffers had urged her to make four 'asks' of Vice President Joe Biden related to party fundraising.

Instead, she made her own pitch: that Biden hold a fundraiser for her own campaign, and that he fly down to Boca Raton to attend her daughter's bat mitzvah. Biden's staff balked, and he cut a video presentation instead.

A Democratic source told Daily Mail Online that President Obama was polite but curt when he called her Sunday to make clear it was time to go, telling her, 'Thank you for your service.'

DON'T FORGET TO GAVEL: She wanted to gavel in the convention, but got subbed out at the last minute by Baltimore Mayor Stephanie Rawlings-Blake, who almost forgot to gavel in the convention Monday

Wasserman Schultz's rough week only got rougher when she was heckled by Bernie Sanders while addressing the Florida delegation on Monday

Protesters held up signs referencing the DNC's leaked emails

WAKE UP CALL: Wasserman Schultz was shouted down at a Florida breakfast

ALL ALONE: Wasserman Schultz toured the convention floor, but never got to speak

The Sanders campaign complained throughout the campaign that Wasserman Schultz was tipping the scales in favor of Hillary Clinton.

A trove of DNC emails leaked by Wikileaks Friday proved to be the last straw. Some emails showed Wasserman Schultz aggressively leaning on a donor for seven 'Hamilton' tickets for a reunion trip to New York. Others showed the lawmaker and staff members knocking Sanders and even pushing a negative story about his faith.