While the brothers went on their way back to the castle of the king , the one brother related to the other how the cypress tree had all at once dried up and withered , how he had immediately set out in search of his twin , and how he had come to the castle of his father-in-law , and had claimed the princess as his wife .