Shape a course, to

To decide a course, and set the ship’s
head on it. Commonly one shapes a course ‘for’ or toward some specific point or place, since the vagaries of weather and sea may enforce alterations to the plan