Wow, that seems like a depressing way to end your life.
Thinking that nobody cared about you and then dying. After that people are sad because you died. And you would've wished that you were alive again. But then, they will get over it eventually, some might even make a joke out of your death. You would then think, "forget this, my life is worthless no matter what."
If you were to come back to life, everyone would either be happy because of such a miracle, shocked to see the impossible or will just stop caring about you because you are okay.
But that said, you wouldn't know because there might not be an afterlife where you could see everything after you've died. Maybe it is some paradise. Maybe it is dark, empty and meaningless. Or maybe it is even worse than your life as a living being.