If you want to check out you should be allowed to do so, to do so in as kind and gentle manner as possible. This is your decision, the last one you'll make. The family will grieve but eventually time will heal that, and perhaps they will eventually see why you decided as you did.
If your religious or personal beliefs forbid it then that too is your decision.