In a discontinuous manner; not continuously.
On different tacks, now toward, and now away from, the land.