Donald Trump has posted a tweet mocking Democratic presidential candidate Elizabeth Warren on the night of the New Hampshire primary.

Initial reports showed the Massachusetts senator in fourth place, although results were still in the process of being announced by the time the president posted his tweet blasting the White House hopeful.

“Elizabeth Warren, sometimes referred to as Pocahontas, is having a really bad night,” the president posted to Twitter. “I think she is sending signals that she wants out. Calling for unity is her way of getting there, going home, and having a ‘nice cold beer’ with her husband!"

The message came as Ms Warren insisted she would continue to fight in the 2020 presidential race and has no intention of dropping out.

“Our best chance of beating Donald Trump is with a candidate that will work,” she said earlier Tuesday evening, “a candidate who can build a campaign to unite our party and a candidate who can build a movement who is ready to take on corruption and win.”

Democratic candidates compete on the campaign trail: In pictures Show all 18 1 /18 Democratic candidates compete on the campaign trail: In pictures Democratic candidates compete on the campaign trail: In pictures Jessica Canicosa, a precinct captain for Bernie Sanders, waits to greet caucus voters at Liberty High School in Henderson, Nevada REUTERS Democratic candidates compete on the campaign trail: In pictures Hotel workers at the Bellagio in Las Vegas get to grips with voting papers during the Nevada caucuses AFP via Getty Images Democratic candidates compete on the campaign trail: In pictures A caricature of Bernie Sanders is projected on to a tree during a rally in Las Vegas EPA Democratic candidates compete on the campaign trail: In pictures A woman waits to have a photo taken with Elizabeth Warren during a town hall meeting in Las Vegas REUTERS Democratic candidates compete on the campaign trail: In pictures The threat of coronavirus and other germ-borne illnesses was on some voters' minds at the Democratic caucuses in Henderson, Nevada Getty Images Democratic candidates compete on the campaign trail: In pictures Former vice-president Joe Biden takes a selfie with a voter in Las Vegas ahead of the Nevada caucuses REUTERS Democratic candidates compete on the campaign trail: In pictures Amy Klobuchar changes her shoes backstage after giving a speech in Exeter, New Hampshire AFP/Getty Democratic candidates compete on the campaign trail: In pictures A warmly-wrapped-up dog attends an Elizabeth Warren event at Amherst Elementary School in Nashua, New Hampshire AFP/Getty Democratic candidates compete on the campaign trail: In pictures Bernie Sanders, who romped to victory in New Hampshire against Hillary Clinton in 2016, talks to the media in Manchester Getty Democratic candidates compete on the campaign trail: In pictures Joe Biden was hoping to improve on his poor showing in Iowa in the New Hampshire primary Reuters Democratic candidates compete on the campaign trail: In pictures Elizabeth Warren, renowned for giving time to supporters for selfies, works the crowd at the University of New Hampshire in Durham Getty Democratic candidates compete on the campaign trail: In pictures Joe Biden takes a selfie with a supporter and his child outside a campaign event in Somersworth, New Hampshire on 5 February Reuters Democratic candidates compete on the campaign trail: In pictures Elizabeth Warren and Bernie Sanders quarrel after a confrontation in a TV debate in which Sanders claimed that Warren was not telling the truth about a conversation in which she claimed he had said a woman could not win the presidency on 14 January AP Democratic candidates compete on the campaign trail: In pictures Supporter Pat Provencher listens to Pete Buttigieg in Laconia, New Hampshire on 4 February Getty Democratic candidates compete on the campaign trail: In pictures Pete Buttigieg speaks at a campaign event in Concord, New Hampshire while awaiting the results of the Iowa caucus Reuters Democratic candidates compete on the campaign trail: In pictures Elizabeth Warren is presented with a balloon effigy of herself at a campaign event in Nashua, New Hampshire on 5 February Reuters Democratic candidates compete on the campaign trail: In pictures A Trump supporter rides past a rally for Amy Klobuchar in Des Moines, Iowa on 14 January AP Democratic candidates compete on the campaign trail: In pictures A man holds up a sign criticising billionaires in the presidential race in front of Michael Bloomberg in Compton, Califronia. The former New York mayor skipped the first caucus in Iowa and instead campaigned in California on 3 February Reuters

She insisted she would stay in the race for the White House despite a weak showing in New Hampshire’s first-in-the-nation primary, telling her supporters in a speech: “I am here to get big things done.”

The Massachusetts senator added: “Tonight, I am here to say thank you.”

She delivered the speech as initial results showed Mr Sanders in first place, followed by Mr Buttigieg and Ms Klobuchar, respectively.

An earlier memo the campaign released to staffers and later obtained by multiple outlets cast Ms Warren as the underdog candidate who was primed for a long primary race.