Answer
Robert Stewart, David II's nephew, assumed the role of regent and governed Scotland during the king's captivity in England. Stewart's regency was marked by challenges, including ongoing conflicts with England and internal power struggles. Despite these obstacles, he maintained stability and order within the kingdom, ensuring the smooth functioning of government and the well-being of the Scottish people.