But when they reached Cyprus , he learned to his sorrow that both his father and mother were dead , and for some time he shut himself up in his house and would see nobody , full of shame at having forgotten them all these years .