Mary Shelley is one of the most prominent examples of a Romantic writer. Romanticism was a movement that began as a reaction to the ideas of Enlightenment. While the Enlightenment was a celebration of reason, logic and human thought, the Romantic period attempted to rescue other sources of knowledge that were considered less desirable, such as superstition, imagination and tradition. This is shown in Shelley's writing by the fact that imagination dominates reason.
Miep Gies is voluntarily putting her life at risk and endangering herself and her status by housing Anne Frank and her family inside her house; Anne Frank was the one hiding, differing their perspectives heavily.