This year, 43 entrants were whittled down into 26 finalists, who performed at Altice Arena in Lisbon. The contest is open to members of the European Broadcasting Union, which includes countries across Europe as well as Israel and Australia.

The evening’s most unexpected moment came when a man rushed onstage and grabbed the microphone from the British singer SuRie, shouting into it briefly before security dragged him off. Graham Norton, the BBC’s on-air commentator, announced that the man was in police custody.

Offered the chance to perform again, SuRie declined, according to a statement from a BBC spokeswoman: “SuRie and her team are extremely proud of her performance and have together decided that there is absolutely no reason to perform the song again.”

The European Broadcasting Union forbids politically tinged performances, but politics tend to follow the competition nonetheless. Last year, Russia dropped out because of a continuing tensions with the host country, Ukraine.

This year, China did not show the contest after a Chinese broadcaster censored the semifinal performance of Ireland’s Ryan O’Shaughnessy, which showed two men dancing with each other to his ballad “Together.” In response, the European Broadcasting Union banned the channel, Mango TV, from broadcasting the second semifinal and final, saying in a statement that the censorship was “not in line” with its “values of universality and inclusivity.”

The sound effects in “Toy,” the song that won this year’s contest, have their origins in Ms. Barzilai’s childhood.