Belgium struck early, with captain Tessa Wullaert toe-poking home in the third minute after a slick move involving Jassina Blom and right-back Jill Janssens.
Portugal dominated possession early on but Belgium grew into the game, regularly threatening in the final third. Blom was stretchered off due to what looked like a serious injury to her left knee in the 34th minute. Portugal switched gears before the break in search of a leveler, but Ana Capeta missed a big chance to equalise in the third minute of first-half stoppage time when she failed to convert a one-on-one.
Portugal head coach Francisco Neto made two changes at the break in a bid to change the dynamic of the game, but Belgian keeper Lisa Lichtfus stayed solid, commanding her area with authority. Mariam Toloba, who was a star for Belgium on the evening, missed a clear opportunity from ten yards out and later had a goal ruled out by VAR for a foul in the build-up from substitute Marie Detruyer. Portugal eventually equalised in the 87th minute through Telma Encarnacao after a sublime pass from Kika Nazareth.
Belgium thought they had won it again in stoppage time through defender Amber Tysiak, only for another VAR intervention to rule out the goal. That was not where the drama would end, though. Veteran Cayman drove the ball towards the box with a surging run and then delivered the winner in the sixth and final minute of stoppage time. Elisabet Gunnarsdottir's side bowed out of the tournament on a sweet note, having lost their previous two group games.