sentence: in his third ( 1643 -- 49 ) he went as far as java , and returned by the cape ; but his relations with the dutch proved not wholly satisfactory , and a long lawsuit on his return yielded but imperfect redress .