He had sense to feel that, since he could not challenge the owner of the dog, he had better be civil. And civil he tried to be; and his attempts being well received, he grew presently _very_ civil and quite himself again. 
He had the sense to feel that he had better be civil, and presently grew quite himself again. 