I think it says her death was in Cowgate, not Canongate.
I also think that it's not her headstone, but that J Gray's headstone is being referenced to describe where she was buried. Whoever J Gray was.
What other names of people with headstones are there in the right-hand column of the full page?