Quickley compiled 25 points, 11 rebounds and nine assists, while Trent went 7 of 15 from 3-point range to help the Raptors hand Milwaukee a fifth loss in six games. RJ Barrett contributed 26 points to Toronto's first win since March 3.
The Bucks' woes continued despite Damian Lillard returning from a three-game absence to record 36 points. Milwaukee was without its other superstar, however, as Giannis Antetokounmpo was held out with a sore hamstring.
Toronto seemed on the way towards another defeat after trailing 40-30 five minutes into the second quarter, but Trent led a 16-3 run later in the period that gave the Raptors a 56-51 advantage with a minute to go before half-time.
The Raptors eventually pushed the margin to 14 points when a Trent 3-pointer created a 77-63 lead midway through the third quarter, but the Bucks closed the gap later in the period. Lillard capped a 10-2 spurt with a 3-pointer that cut Milwaukee's deficit to 87-84 in the final minute of the third.
Milwaukee had a chance to pull ahead in the late stages, but Khris Middleton missed a potential go-ahead 3-point attempt with the Raptors up 113-111 with 20.4 seconds left. Quickley then made a pair of free throws and the Bucks were held scoreless the rest of the way.
Middleton finished with 21 points and Bobby Portis tallied 19 points with 10 rebounds off the bench for the Bucks.
Washington stars as Mavericks end Warriors' winning streak
P.J. Washington capped a 32-point night with a tie-breaking layup with 4.5 seconds left that lifted the Dallas Mavericks to a 108-106 victory over Golden State which halted the Warriors' season-high six-game winning streak.
After Golden State erased a 10-point fourth-quarter deficit on Stephen Curry's jumper with 13 seconds remaining that tied the game at 106-106, Dallas' Tim Hardaway Jr. found a cutting Washington for an inside basket that put the Mavericks back in front.
Klay Thompson then missed a 3-point shot just before the final buzzer as Dallas held on for its 13th win in its last 15 games.
Washington finished 12 of 18 from the field while stepping up with the Mavericks holding out star guard Luka Dončić in the second of a back-to-back, and Dallas also received a 26-point, eight-rebound, seven-assist effort out of Kyrie Irving.
Curry ended with 28 points, 14 of which came in the fourth quarter as the Warriors battled back from being down 98-88 with under six minutes left.
Golden State also rallied from a slow start, as Dallas built a 29–13 lead less than eight minutes into the game. The Warriors closed out the first quarter on a 19-2 run, however, to take a 32-31 edge into the second.
The game remained tight until the Mavericks scored the first five points of the fourth quarter to open up an 84-76 lead with under 11 minutes left to play.
Fast start propels Suns past Timberwolves
The Phoenix Suns used a quick start and a strong game from Grayson Allen to continue their late-season surge with a 97-87 win over the Minnesota Timberwolves.
Allen gave Phoenix a lift on a night in which All-Star Devin Booker was held to 13 points on 3-of-12 shooting, as the former Duke star recorded 23 points along with eight rebounds.
Kevin Durant added 22 points in the Suns' third consecutive win, while Jusuf Nurkic compiled 11 points, 15 rebounds and six assists.
Booker did have 13 assists and scored the first five points of a 15-0 Phoenix run to open the game. The Suns never trailed at any point, as they shot 55 per cent in the first quarter to build a 32-20 lead and carried a 57-41 advantage into half-time.
Minnesota, on the other hand, struggled to score throughout the evening and fell behind by as many as 23 points in the fourth quarter.
The Timberwolves shot just 38.8 per cent for the game while being dealt just their second defeat in their past eight outings. All-Star Anthony Edwards was 6 of 19 while being limited to 17 points, while starting forward Naz Reid managed just eight points on 3-of-13 shooting.
Monday's loss dropped Minnesota into a tie with the Denver Nuggets for first place in the Western Conference.