Did similar when the Euryalus visited way back. The reef surrounding the islands had recently ripped the bottom out of one of their rescue boats. So we were tasked to fly the Wasp round and survey the reef for another route minimizing damage to the reef!
We were given a couple of free nights outs out courtesy of the government. (Tickets were raffled off for the ships charity and a couple of the ships co. had a freebie night on the town!!)