What is maddy doing in her cell in ravenmasters secret?

She is waiting for an escape.