Sophia Dorothea 's father , George William , and George Louis , had Sophia Dorothea imprisoned in Ahlden Castle in Celle , where she was unable to see her father , former husband , or children . With the concurrence of her father , George had Sophia Dorothea imprisoned in the Castle of Ahlden in her native Celle , where she stayed until she died more than thirty years later .