"At one point in the second period, we were outchancing them 7-1, and then they get a goal," Carlyle said. "That gave them life, and we had all kinds of opportunities before that. We just didn't finish."
The Ducks led 1-0 after Rakell backhanded a rebound at 11:48 of the first period. He leads Anaheim with 31 goals and has nine in his past 10 games.
The Ducks trail the Sharks by six points for first place in the Pacific Division with 11 games remaining. San Jose has one game in hand.
"We're going into a tough building, but we've played well there before," Carlyle said. "We aren't shaking in our boots, that's for sure."