One morning a warder entered the cell and roughly informed the prince that he was to go and clean out the vizier's stables, while the others were to dig up the royal garden. Of course Fernando had never done such a thing in his life, and now, hardly able to stand from weakness, and with fetters on his legs, it seemed an impossible task. Still, only to get out into the sunshine again was delightful to him, and he worked away with a will. However, he could not have done his cleansing very thoroughly, or else the vizier had merely wished to humiliate him, for the next day he was sent to the gardens with the rest. Here he was almost happy; he loved flowers, and he had the company of his friends, to whom he could talk freely, for the gaolers, satisfied that they could not escape, left them very much to themselves. As to food, each man had two loaves a day, but no meat; however, in this respect Fernando fared better than the others, for when the king of Fez and his wives walked through the gardens, as they often did, they would speak to him with the politeness to which he had long been a stranger, and bid their slaves bring him fruit and wine from their own table. It seems curious that king Abdallah did not insist on better treatment for the Portuguese prince, but he was afraid of Lazuraque, who had ruled the kingdom from Abdallah's childhood, and dared not interfere.
When darkness fell the captives were taken back to their prison, and here Fernando had a cell all to himself, and, tired out with his labours, was glad enough to throw himself on the two sheepskins covered by an old carpet which served him for a bed, and lay his head on the bundle of hay which was his pillow.
Matters had gone on in this way for a few weeks, when one day the captives were told that they were to work in the gardens no more; heavier chains were fastened to their arms and legs, and they were all thrust together into one tiny dungeon. Then a message came that dom Fernando was to be brought before the vizier. With a beating heart the infante gladly followed his gaoler. Surely Lazuraque would not have troubled to send for him unless deliverance had been at hand? But his hopes fell at the sight of Lazuraque's face, which was cruel and stern as usual.
'Your brother the king of Portugal is dead,' were the words that fell upon Fernando's ears, and he sank fainting to the ground. When he came to himself, he was lying chained in his cell, with his friends anxiously bending over him.
Dom Pedro was now regent, ruling for Duarte's little son, Alfonso V., and besides the view which he had always held that the honour of the country demanded the surrender of Ceuta, he felt bound to carry out the late king's will, which directed him to deliver Fernando at any cost. But now it was not Ceuta that Lazuraque wanted, but a huge ransom, impossible for Portugal to raise, and till this was forthcoming the horrors of the prisoners' captivity were increased.
For some days after hearing the news Fernando's grief, together with the stifling air of the cell, made him so ill that his companions expected that every hour would be his last. Well he guessed that shame at the result of the expedition, and sorrow for his own fate, had hastened the end of dom Duarte, and the infante's thoughts flew back to the day of the proclamation of the king, five years before, and to the prophecy of master Guedelha. One thing, however, did not occur to him—that it was Duarte's weakness in allowing the expedition which had brought about the fulfilment of the prophecy.
After a while Lazuraque saw that unless he meant his captives to die, which would not have suited him at all, he must free them from their dungeon, so they were sent back to the gardens. Slowly the years 1439 and 1440 wore away. The hearts of the poor prisoners grew sick, but Fernando alone never lost his cheerfulness, and kept up the spirits of the others when they were bowed down with despair.
It was in 1441 that hope suddenly sprang into life again, for the news reached them that some envoys had arrived from Portugal to treat for their release, and that the governor of Arzilla was using his influence on their behalf. Soon after they were removed from Fez near to Ceuta, where they could once more see the blue Mediterranean and feel themselves close to Portugal again. But everything came to an end because neither side would trust the other. Lazuraque, though he still preferred a ransom, part of which he could have put in his own pocket, dared not refuse openly to exchange the prince for Ceuta, now that the envoys had come for the express purpose of delivering up the fortress. Still, he could place many obstacles in the way of the fulfilment of the treaty, and declared that the keys of Ceuta must be in his possession before the infante could be handed over to the envoys. They, on their side, insisted on Fernando's release before the surrender of the fortress.