DETROIT — When the Celtics inbounded the ball with 5.1 seconds left in the third quarter needing to go the length of the floor for a basket, it was no surprise that the pass went to Payton Pritchard, the team’s speedy, last-second maestro.
As he has done so many times before, he sliced through the Pistons defense, found just enough space in just enough time, and his running 12-footer went through the rim without touching it.
The shot was good, if not predictable, but what followed might have been just as important for the Celtics on Saturday night. Pritchard yelled and turned and barked at some Detroit fans who had been fueling him, then he marched toward Boston’s bench, with his teammates rushing toward him, and let out several roars.
For much of this season the Celtics, a team built on emotion and hustle and aggressiveness, have been listless in the second halves of games. But this powerful 117-103 win in an NBA Cup quarterfinal was a comforting return to what they do best, with Pritchard at the center of it all.
Get Court Sense
Keep up with everything Celtics with news, commentary, and analysis from the Globe’s all-star team. Arrives twice weekly.
“It’s good to get it back,” he said. “[Coach Joe Mazzulla] has been asking me to get it back. He felt like a like somebody robbed me of my joy for a little bit. So I think that’s the leadership that I bring to this team is that emotion, and when I have it, it takes us to another level.”
With the victory, the Celtics advanced to the NBA Cup semifinals for the first time in franchise history. They will visit the Hawks on Tuesday night with a chance to reach next Friday’s championship game at Butler University’s Hinkle Fieldhouse against the Western Conference representative.
During the group-play portions of the Cup, players mostly dismiss the relevance of the event. But the intensity level clearly rises during these elimination rounds.
“It’s not the Finals, it’s not the championship, but it’s another thing to compete for,” forward Jayson Tatum said. “It’s something to try to win. And as a competitor, I just look at it as another opportunity to try to go win something.”
Tatum had 27 points to lead the Celtics, who shot 54 percent from the field and avenged their opening-day loss here. Pritchard added 23 points and Jordan Walsh tied his season high with 17.
Entering Saturday, the Celtics had outscored opponents by 20.5 points per 100 possessions in the first halves of games and been outscored by 3.6 points per 100 possessions after halftime.
But after falling behind, 59-51, at the break against Detroit, the reversal was swift. In the second half, the Celtics outscored the Pistons, 66-44.
“First half is a team that we don’t want to be,” Tatum said. “The second half was what we need to be, and it showed.”
There were signs of aggressiveness everywhere. After grabbing just one offensive rebound and taking one free throw in the first half, the Celtics gathered 10 boards and took 20 free throws in the second. The Pistons shot 53.5 percent from the field in the first half and connected on just 38.6 percent afterward.
“When we’re at our best, we do that consistently,” Mazzulla said. “And obviously coming out of the last stretch, we weren’t at our best at connecting the game in that way.”
Dannis Jenkins had 22 points to lead the shorthanded Pistons, who were without All-Stars Cade Cunningham (knee) and Jalen Duren (ankle). The Celtics had no answer for Jenkins, Cunningham’s replacement, in the first half, when he was 6 for 6 from the field and scored 16 points to help his team open an 8-point halftime lead.
But with Tatum going scoreless in the second quarter Walsh helped keep the Celtics afloat with an unlikely 11-point first-half lift that included going 3 for 3 from long range. He carried that momentum into the start of the third quarter, too. Over the first 47 seconds he converted a layup, blocked a Jenkins jumper to force his first miss, then soared in for a dunk, leading to an early Pistons timeout.
Tatum and Derrick White took it from there.
During one brief stretch Tatum hit a one-legged fadeaway, a deep 3-pointer from the top of the key, and a driving layup. White, who did not attempt a shot during the first half, was far more aggressive in the second. He poured in 12 points on 4 of 5 shooting and added 3 assists, and with 27 seconds left he came up with a backcourt steal that led to a Walsh layup that set up an unlikely 2-for-1 opportunity. That set up Pritchard’s buzzer-beater, and the emotions that came with it.
“It’s a good step in the right direction.” Pritchard said.
Celtics players cheer on their teammates during the second half of Saturday night’s 117-103 win over the Pistons.Duane Burleson/Associated Press
Adam Himmelsbach can be reached at adam.himmelsbach@globe.com. Follow him @adamhimmelsbach.