Canada has sought to recalibrate its diplomatic relationships amid the geopolitical shifts triggered by the Trump administration.