There is no need to pass the exam again, you can obtain a new license at the Harbourmasters office where you passed the exam. You need to contact them directly and provide the necessary forms, send 2 photos, provide passport copy, pay fees and buy tax stamps. The new license will be ready in a few days.