You must advise Customs at least 24 hours prior to your expected departure and then berth your yacht in a port of entry/exit. You are required by officials to sail your yacht to the Port where you wish to apply for departure clearance.
You must not leave your yacht at a Marina or Yacht Club and travel by land to your chosen departure Port.