During her years at Hogwarts, she was often teased by many of the other students due to her strange behaviour and odd beliefs.
Up until the Battle of Hogwarts, Luna stayed at the cottage for the remainder of the war, and when Dobby was buried, she closed the house-elf's eyes and provided the eulogy, thanking him for rescuing her.