deviate from the course

Translations
отклоняться от курса
The ship began to deviate from the course due to the storm.
Корабль начал отклоняться от курса из-за шторма.