at the last moment , with the smell of rotting flowers and that death-mask of his , fear gets the better of longing and she turns her back on the prefect and so on jean with his ring and on the twinkling green trees and runs back into the years of the dark maze , back to the room and her bed where she wakes up and thinks it was a dream .