Draco kills Dumbledore and regrets it; Hermione feels duty-bound to help him
Hermione is injured beyond repair but refuses to leave the wizarding world. Giving up and leaving the wizarding world sounds easier, but she was never one to take the easy path.