London: After an inept start to campaigning in Britain’s general election and a pause following the Manchester bombing, Prime Minister Theresa May on Monday navigated a television debate and interview without sustaining further political damage, yet without banishing doubts about her leadership that were raised by a significant policy reversal last week.

During 90 minutes of questions put separately to May and to the leader of the main opposition Labour Party, Jeremy Corbyn, the prime minister appeared less comfortable under hard questioning, but she did not crack.

Corbyn did well, keeping his cool and sense of humour, but had difficulty explaining away his past sympathies for groups such as Hamas and Sinn Fein while trying to paint a picture of a better future with more money for nearly every social service coming from higher taxes on corporations and those earning more than £80,000 a year, or about $103,000.

But neither politician emerged as a clear victor. And while the opinion polls are narrowing, May’s Tories still seem to hold a significant — though single-digit — lead over Labour for the election on June 8.

May had refused to take part in a head-to-head debate with Corbyn, so both politicians appeared separately on a program in which they took questions first from voters, then from a journalist, Jeremy Paxman.

May was challenged over her change of heart on several issues, including an abrupt shift last week over plans to finance long-term care, and the merits of Brexit, Britain’s withdrawal from the European Union — which she once opposed but now embraces. She was also pressed by members of a studio audience about cuts to financing for the police, health and education.

Corbyn, while outperforming relatively low expectations, appeared vulnerable when questioned about his willingness to authorise military force, his past opposition to the Falklands war in the early 1980s, and his expressions of regret that Osama Bin Laden had been killed, rather than arrested and tried.

Television debates rarely affect the outcome of British elections, according to analysts, but this event gave May a chance to reboot her lacklustre campaign after the Manchester bombing on May 22, which prompted the suspension of electioneering for several days.

The attack itself was barely mentioned on the program, though Corbyn was challenged over his comments that the war on terrorism was not working, while May was called out over cuts in the police ranks, even as she argued that spending on counterterrorism had increased.

May’s shaky campaign and the tightening polls have undercut assumptions that she will win a resounding victory, but she is still expected to increase her narrow majority in Parliament.

Her campaign stumbled when she was forced to revisit a plan to put a hard cap on the assets that residents who receive long-term care at home may own.

The proposal, widely derided as a “dementia tax,” raised sufficient enough protests that May beat a hasty retreat, even as she insisted nothing had changed in her thinking. During Monday night’s debate, May said that there would be an absolute limit on the amount people would have to pay, but did not specify what it would be.

The furore over long-term care and her obvious change of heart over Brexit, which she had originally opposed, have dented her claims that only she can provide the “strong and stable” leadership Britain needs as it faces very difficult negotiations over how to extract itself from the European Union.

May called the snap election for June 8, expecting to increase her parliamentary majority before the talks with Europe begin.

But Corbyn’s left-wing agenda has proved more popular than some had expected, despite questions about how it would be financed. He has also benefited from rules that, during election campaigns, oblige Britain’s broadcasters to balance the airtime given to the different parties, something that normally increases the visibility of the opposition.

Paxman provoked laughter from the studio audience, and a fierce stare from May, when he suggested that during the Brexit negotiations, her European interlocutors would conclude that she was a “blowhard who collapses at the first sign of gunfire.”

She repeated her insistence that no Brexit deal with the European Union would be better than a bad deal. Corbyn argued that he would reach an accord allowing tariff-free trade with the European Union to continue despite his promise for “managed migration.” He said that he expected that immigration “would probably come down” but gave no estimates on numbers.

Despite her recent difficulties, May also has some solid reasons to be content. The Liberal Democrats, the most pro-European of the parties, have so far failed to convince the millions of voters who opposed Brexit that they offer a viable alternative.

And the right-wing, populist, UK Independence Party appears to be in its death throes — with its main policies of quitting the European Union and curbing immigration now appropriated by the Conservatives.

That leaves May in a straight fight with Corbyn, which most analysts still expect her to win.