Thank you for your replies. As far as I can work out, the grave is filled automatically after getting the parchment. Unfortunately, UHS didn't help.
I went to the walkthrough and did everything in that. I still can't get away from the cemetery. I can get outside the gate, but after that I am trapped.
I don't know what I am missing.