Bellatrix was still fighting her. With the next inhale, Hermione lifted her hands and the moonlight outside disappeared. Dark clouds were pressing in from the windows, seeping through the doors and cracks in the building. She used it to push the Dementors back. Commanded them to retreat until they became one with the clouds and disappeared.