sitting on the shore he worked out a loose thread from the green coat still in his bundle , to tie around the pin of one of the gold bars : bent in half , it made a serviceable hook , and he thought there might be a chance of some biting even so near the shore .