The trick Michael used to get into her dream is his dragonspeech. Maisie figured out the trick first as part of an initiation ordeal, and she in turn taught Michael. It allows them to hop into a target's dream and ease them out of it. It's meant to be used for nightmares (not the shadow spirit), to help the subject realize they're dreaming and regain control of what is happening, or simply wake up.