the days were still very warm , though , and william found it almost a pleasure when his detail was told off to comb the shore in search of a supposed smuggler 's cache that captain hanks had caught wind of .