Carmelo Anthony scored 30 points, Amar'e Stoudemire had a season-high 24 points and 11 rebounds and the New York Knicks kept their slim playoff hopes alive by beating the Raptors 108-100.
Victory would have given Toronto its second Atlantic crown and first since 2006-07.
Instead, the Raptors got that a few minutes after walking off the court when Atlanta beat Brooklyn 93-88.
DeMar DeRozan scored 26 points and Kyle Lowry had 25 but the Raptors failed to match the franchise record for victories in a season (47) and disappointed a sellout crowd.