President Barack Obama and House Minority Leader Nancy Pelosi leave the Gabriel Zimmerman room on Capitol Hill, June 12, 2015 in Washington, D.C. (credit: Olivier Douliery-Pool/Getty Images) President Barack Obama and House Minority Leader Nancy Pelosi leave the Gabriel Zimmerman room on Capitol Hill, June 12, 2015 in Washington, D.C. (credit: Olivier Douliery-Pool/Getty Images)

WASHINGTON (CBSDC/AP) — In a public rebuke to President Barack Obama, top House Democrat Nancy Pelosi on Friday swung against legislation aimed at making it easier for the president and his successor to negotiate free trade deals.

The California Democrat said lawmakers should “slow this down” in hopes of getting stronger protections for U.S. workers and the environment in potential trade pacts, including one with Pacific nations.

Pelosi made her position known just prior to separate House votes to reject aid to displaced workers and to give Obama the “fast track” trade negotiating authority he is seeking.

“We need to slow this ‘fast track’ down,” Pelosi said.

Pelosi had been seen as a silent ally to Obama and Republicans running the House in promoting Obama’strade agenda, though she kept her position secret until the end of Friday’s debate. She made clear she’s open to supporting future trade legislation, noting that she represents a San Francisco district that thrives on trade and grew up in Baltimore, home of a thriving port.

Pelosi voted “no” despite escorting Obama into a closed-door caucus of House Democrats, most of whom opposed the fast-track trade bill, which requires that trade pacts be delivered to Congress for up or down votes, without amendment. The authority is key to getting trade partners to seal agreements since they know Congress can’t amend them.

One House Democrat told CNN’s Jake Tapper that Obama became “indignant.”

“He was fine until he turned it at the end and became indignant and alienated some folks,” the lawmaker said.

House Democratic Rep #1 re: POTUS visit to Hill: "He was fine until he turned it at the end and became indignant and alienated some folks." — Jake Tapper (@jaketapper) June 12, 2015

Another Democratic House lawmaker told Tapper that Obama’s visit “absolutely” hurt the bill.

“Democrats believe they often are taken granted and not appreciated” by Obama, the lawmaker said.

House Dem Rep #2: POTUS visit "absolutely" hurt the bill. "Democrats believe they often are taken granted and not appreciated" by POTUS. — Jake Tapper (@jaketapper) June 12, 2015

The California Democrat was in a tough spot, torn between loyalty to a president whose agenda she supports and a Democratic caucus strongly tilted against Obama in this instance.

“She’s in a really difficult situation,” said pro-trade Rep. Henry Cuellar, D-Texas. “She doesn’t want to see the president fail. At the same time, she understands that there’s a lot of folks — labor and other folks, other progressive groups, and some members that feel strongly.”

Pelosi said “I’ve been very prayerful on this.”

Pelosi also voted against legislation to aid workers who lose their jobs because of trade deals, not because she opposed it but because its passage was directly linked to advancing the subsequent trade negotiating measure.

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)