Yup - what sail2wind said. We did this last year when we went to sailing school. Left the dock in St. Thomas with our captain/instructor. She cleared everyone into the BVI's; we stayed on the boat w/quarantine flag up till she returned. When we returned to the USVI's, we all appeared at customs to clear back in.