The president signaled he would seek to use the threat of steep levies to reorient trade and protect his political allies.