WELLINGTON, New Zealand — As Prime Minister Jacinda Ardern of New Zealand considered on Monday how her government would investigate the terrorist attack that traumatized the country 10 days ago, she also began returning to normal business, announcing that she would make a long-delayed trip to Beijing next week.

The announcement signaled a shift after signs of growing tensions between the countries. Ms. Ardern, who told reporters that she would meet with China’s president, Xi Jinping, and the country’s premier, Li Keqiang, said the long-planned trip had been scaled back to a single day in light of the attack.

The visit will be “literally 24 hours, and traveling with as little time away as possible,” Ms. Ardern said, adding that the trip had been planned “some weeks ago” and that Chinese officials had been “incredibly accommodating” about her decision to shorten it after the shooting attacks on two Christchurch mosques in which 50 people were killed.

Her original plan had been to travel with a business delegation from New Zealand and to make stops in three cities. Instead, she will travel without the group and will visit only Beijing.