They woke up early the next morning and made the treaty. After this, Isaac sent them off and they left on peaceful terms.