No, I don't think it's wrong of you to use whatever is at your disposal to keep holding on. How could it be? Holding on is just kinda what we do, even when we don't really want to at the time. It's in our nature, something primal and automatic, which makes it about as 'wrong' as breathing.
As to whether or not you should keep trying to hold on...I think the answer's still probably yes. Several people have already mentioned that if you're still finding ways to hold on, there may be a reason for it.
What you have to remember is that, at this time, your brain is at war with itself. Part of your brain wants the suffering to end. It doesn't care how, just for it to end. Another part of your brain is struggling to keep you alive at all costs. That's what it evolved to do. And you don't really have a whole lot of say in the matter, in the grand scheme of things.
The only real advice I can give is to try not to be too hard on yourself. The part of you that wants to die is responding to a state of pain and suffering, and you shouldn't feel any guilt about that. It's a deeply human thing to want to escape suffering, and again, as normal as breathing. The part of you that wants to hold on, too, is a deeply human response, and you shouldn't feel guilty or like less of a person for any impulse you have to hold on any way you can. It's not manipulation or cowardice, it's just being human, and feeling the primal drive to resist the call of the void. All of these things are perfectly natural, reasonable, and understandable. The idea of rightness or wrongness really has no place in the mix.