Defending champions the USA suffered a huge scare against Women's World Cup debutants Portugal before scraping through to the last 16.
The Stars and Stripes are yet to fire at the tournament and, after being held by the Netherlands in their previous match, suffered another frustrating draw that raised questions about their hopes of winning the tournament for an unprecedented third time in a row.
Portugal, who would have caused one of the greatest upsets in the competition's history had they won, hit the post through Ana Capeta in the 91st minute.
In the end the USA were relieved to hear the full-time whistle, the point enough to take them through as runners-up to the Netherlands,who thrashed Vietnam 7-0.
However, the United States were once again far from their best as they struggled to break down a gritty Portugal defence, while keeper Ines Pereira produced two fine saves to deny recalled forward Lynn Williams.
The world's number one side will now face the winners of Group G, which will be decided on Wednesday with Sweden - the last nation to defeat the USA in a 90-minute game at the World Cup - set to finish top unless there is a 10-goal swing.
On a bitterly frustrating night for the four-time world champions in Auckland, midfielder Rose Lavelle was booked and will miss the next game after her second caution of the tournament.
USA fail to impress
The US came into this tournament as hot favourites to win it, but they have failed to impress in front of their thousands of travelling fans in New Zealand.
They finish the group stage with five points - two behind the Netherlands - and questions as to why they look a shadow of the team that conquered the world in 2015 and 2019.
After missing a host of chances in their opening 3-0 win over debutants Vietnam, the US were held by the Netherlands in a repeat of the final four years ago.
Manager Vlatko Andonovski had named the same starting XI for the first two games but opted to made two changes as Lavelle, who has recovered from a recent knee injury, started after coming off the bench to provide the assist for Lindsey Horan to equalise against the Netherlands.
Forward Williams also got her first taste of this World Cup as Savannah DeMelo and Trinity Rodman dropped out.
But the changes failed to inspire the US, who failed to score in a World Cup game for the first time since being held 0-0 by Sweden in 2015.
Portugal bow out with heads held high
Portugal, who finished third in the group - one point behind the USA - exit the competition with their heads held high after going so close to causing an almighty shock.
They played 13 matches - 10 group games and three play-off matches - to reach their first World Cup and only secured a place with a 2-1 win over Cameroon in February.
Having lost narrowly to the Netherlands in their opening group game, Francisco Neto's side secured a historic first win on the global stage as goals by Telma Encarnacao and exciting young talent Francisca Nazareth defeated Vietnam 2-0.
The fact Portugal went into the third group game still in with a chance of qualifying for the knockout stage will be seen as progress.
Against the United States, they were strong at the back and quick on the break, with Jessica Silva wasting a great chance in the first half before Nazareth went close.
The fourth official had just signalled a minimum of eight additional minutes when substitute Capeta struck the post.
"When Ana shot I was thinking it was a goal," said Neto.
"What I said to the girls is that I was very proud. Of course they are very sad because we are going home tomorrow.
"What this World Cup shows now is the women's game is growing a lot and all the teams are amazing. Because of that you have this kind of result.
"Before the World Cup nobody believed this kind of result would come."
20Ramos Ribeiro Nazareth SousaSubstituted forde Jesus Jacintoat62'minutes
16Abreu de Sousa e SilvaSubstituted forPalma Capetaat90'minutes
10Manjenje Nogueira Silva
Substitutes
3de Sousa Alves
4Garcia Rebelo
5Gaspar Silva Marchão
6de Jesus Jacinto
7Santos Marques Rodrigues
12de Sousa Barros Morais
13Figueira Pinto
17da Silva Seiça
18Trindade Coruche Mendes
21Palma Capeta
22Campos Costa
23Velosa Encarnação
USA
Formation4-3-3
1Naeher
23Fox8Ertz4Girma19Dunn
16Lavelle17Sullivan10Horan
6Williams13Morgan11Smith
1Naeher
23Fox
8Ertz
4GirmaBooked at 81mins
19DunnSubstituted forO'Haraat90+7'minutes
16LavelleBooked at 39mins
17Sullivan
10HoranSubstituted forSonnettat84'minutes
6WilliamsSubstituted forRodmanat84'minutes
13MorganSubstituted forThompsonat90+7'minutes
11SmithBooked at 52minsSubstituted forRapinoeat61'minutes
Substitutes
2Sanchez
3Huerta
5O'Hara
7Thompson
9DeMelo
12Cook
14Sonnett
15Rapinoe
18Murphy
20Rodman
21Kingsbury
22Mewis
Referee:
Rebecca Welch
Attendance:
40,958
Match Stats
Live Text
Match ends, Portugal 0, USA 0.
Second Half ends, Portugal 0, USA 0.
Substitution, USA. Alyssa Thompson replaces Alex Morgan.
Substitution, USA. Kelley O'Hara replaces Crystal Dunn.
Attempt missed. Megan Rapinoe (USA) right footed shot from outside the box misses to the left. Assisted by Alex Morgan with a headed pass.
Ana Capeta (Portugal) wins a free kick on the left wing.
Foul by Emily Fox (USA).
Attempt missed. Alex Morgan (USA) right footed shot from the centre of the box misses to the left. Assisted by Megan Rapinoe with a cross.
Attempt missed. Andreia Jacinto (Portugal) right footed shot from outside the box is too high.
Ana Capeta (Portugal) hits the right post with a right footed shot from the centre of the box. Assisted by Telma Encarnação with a through ball.
Attempt missed. Alex Morgan (USA) left footed shot from the left side of the box is high and wide to the left. Assisted by Megan Rapinoe with a through ball.
Substitution, Portugal. Ana Capeta replaces Diana Silva.
This website or its third-party tools use cookies, which are necessary for analytics and its functioning and required to achieve the purposes illustrated in the cookie policy, including the personalization and analysis of ads and content. If you want to learn more or withdraw your consent to all or some of the cookies, please refer to the cookie policy.
By clicking on Accept you are agreeing to the placement of cookies on your device.
Further use of our site shall be considered as consent. You may view our Privacy Policy and Cookie Policy here for more information.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.