A detective analyzed a hidden treasure while sailing across the seas.