as he schemed , his mind wandered and just beyond the bowsprit he saw afet walking before the ship and as he shook his head in an effort to clear his daydream , he could see white sails rising and falling on the distant horizon exactly to the same rhythm of afets bare feet .