Mrs. Clinton also said, “We think Liberia is on the right track, as difficult as that might be.”

Liberia is the second to last stop on Mrs. Clinton’s seven-nation African tour. She has met with rape survivors from Congo’s war, scolded Kenyan politicians for failing to try the instigators of political violence, toured a refugee camp and talked about the oil business with Nigerian leaders.

At one point, Mrs. Clinton sparred with a Congolese student who asked for former President Bill Clinton’s opinion on a certain subject, and she snapped back, “My husband is not the secretary of state, I am,” a comment that has gotten more attention than anything else she has said or done on this trip.

On Thursday, at a news conference in the Liberian Foreign Affairs Ministry, Mrs. Clinton was asked whether she regretted the exchange. She declined to answer.

“The most important part of this trip has been the relationships we built,” she said.

Mrs. Clinton also spoke at Liberia’s national legislature, telling lawmakers, “I know some of you in this chamber bore arms against each other,” which drew nervous laughter. “But your being here, committed to the peaceful resolution of disputes, is a great message.”

All the warring factions during Liberia’s recent conflicts were responsible for gross human rights violations, the truth commission said. And Mrs. Johnson Sirleaf has admitted sending money to Charles Taylor, an infamous Liberian warlord now on trial for war crimes, when he challenged the former dictator Samuel K. Doe.