Tomas Holmstrom broke a tie with 6:08 remaining, and the Detroit Red Wings had three third-period goals to avoid elimination with a 4-3 victory over the San Jose Sharks on Sunday night.
Danny Cleary and Jonathan Ericsson also scored in the final period to send the series back to Detroit for Game 6 on Tuesday night.
After winning the first three games, San Jose is clinging to a 3-2 lead in the best-of-seven series.
Logan Couture, Joe Pavelski and Devin Setoguchi scored to help the Sharks take a 3-1 lead early in the third period.
Then the Red Wings scored two quick goals before Holmstrom's redirected the winner past Antti Niemi.
Jimmy Howard made 39 saves for Detroit.