and yet he understood it , too , perhaps from his upbringing in his mother 's cloistered quarters , the mother who had closed herself up in demaratos ' house when she married him and never went out of it again , except to her grave .