there then intervened the attack on beren and luthien by celegorm and curufin , when huan , deserting his master , joined himself to them ; they returned together to doriath , and when they got there beren left luthien sleeping and went back northwards by himself , riding curufin 's horse .