Indian and Pakistani military leaders held talks Monday intended to extend a tenuous ceasefire that has halted the most expansive fighting in decades between the two nuclear-armed states.

A sense of normalcy began to return on both sides of their border, two days after a U.S.-mediated truce ended their rapidly escalating military conflict.

Stock markets in both countries jumped on the first day of trading since the agreement was reached. India announced the resumption of civilian flights at more than 30 airports in the north of the country, while in Pakistan, authorities said that all airports were open.

The situation along the two countries’ extensive boundary, however, remained uncertain, with tens of thousands of people still displaced. There were no reports of a major breach Sunday night, the second evening of the ceasefire. But on Monday, brief drone sightings and explosions were reported in parts of Indian-controlled Kashmir.

For most of last week, the two countries were engaged in intense fighting that brought cross-border shelling, drone warfare and claims from both sides that they had inflicted damage on the other’s military bases.

As called for in the agreement that stopped the armed conflict, military leaders from both sides on Monday discussed “issues related to continuing the commitment that both sides must not fire a single shot or initiate any aggressive and inimical action,” the Indian army said in a statement.

“It was also agreed that both sides consider immediate measures to ensure troop reduction from the borders and forward areas,” the statement said.

On Saturday, President Donald Trump announced that the two sides had agreed to a ceasefire with the help of U.S. diplomacy, continuing past patterns of outside mediation when tensions rise between India and Pakistan.

The president again addressed his administration’s diplomatic efforts Monday, saying he had made a threat to both nations in pushing them to cease their hostilities.

“I said, ‘Come on, we will do a lot of trade with you guys. Let’s stop it, let’s stop it. If you stop it, we are doing trade. If you don’t stop it, we are not doing any trade,” Trump said. “All of a sudden, they said, ‘I think we will stop,’ and they have.”

The halt in the fighting, the president said, averted what could have been a nuclear war that would have killed millions of people.

While the Pakistani side has publicly acknowledged the American role in brokering the truce, the Indian government has insisted in its statements that it was reached only bilaterally with Pakistan. Privately, Indian officials acknowledge the role of U.S. diplomacy but have pushed back against suggestions that trade or anything else was used as pressure.

The Indian government’s sensitivity over the American involvement reflects its efforts for several years to portray its dispute with Pakistan, especially over the contested territory of Kashmir, as a small issue that it can handle directly.

If India’s strongman prime minister, Narendra Modi, were perceived as having caved to American pressure for a ceasefire against a weaker nation, it could cost him politically at home. Modi’s image rests in part on elevating India into a major power that would easily handle smaller nations in any conflict, and he raised expectations that India would deliver a decisive blow to Pakistan as tensions soared.

Modi, in his first address to the nation since the terrorist attack last month that ignited the standoff, said Monday that India had “just suspended” its military strikes and would assess its next steps based on “what sort of attitude Pakistan will adopt.”

The prime minister accused Pakistan of engaging in “nuclear blackmail” and said that India would “strike precisely and decisively at the terrorist hide-outs developing under the cover” of that threat.

He described the initial strikes that his military carried in Pakistan early Wednesday, which then escalated to a fierce aerial confrontation, as an “unwavering commitment to justice.”

Modi said that the attendance of senior Pakistani military officers at the funerals of people India had identified as terrorists and targeted in strikes was evidence of “state-sponsored terrorism.” Photographs of the funerals showed the Pakistani officers in attendance.

The recent conflict was set off by a terrorist attack that killed 26 people late last month on the Indian side of Kashmir, a territory claimed by both countries. New Delhi blamed the carnage on groups that it said were receiving support from Pakistan — an accusation Islamabad has denied — and vowed retaliation.

Two weeks after the massacre, which happened near the town of Pahalgam, India bombed what it described as terrorist facilities in Pakistan.