The events in verses 38 and 39 happened before Jesus left in the boat. Alternate translation: "Before Jesus and his disciples left, the man" or "Before Jesus and his disciples set sail, the man"