at length , he found himself on the shore of the thames , where he found an overturned dory and sat on it , the journal tucked under his coat , watching the brown water swirl past , lapping up the shore as the tide came in .