said of a ship: to deviate erratically from a straight course, e.g. when sailing with a following wind or sea
said of a ship, n aircraft, spacecraft, or projectile: to deviate from a straight course, esp by side-to-side movement, the nose going to the left while the tail goes to the right and vice versa
yaw noun
[origin unknown]