 His first task was to get custody of James and Alexander, politically essential for the authority of the regency.Margaret, after some initial defiance, surrendered at Stirling in August.With the princes in the hands of their uncle, Margaret, now expecting a child by Angus, retired to Edinburgh.