She cast a spell quickly on the portrait as soon as she saw the panic and dread set in her former headmaster, the spell would keep him animate in the portrait but it severed the connection to any other portraits he may have been connected to, forcing him to stay where she could monitor him. 