It depends on the situation, but it would have to be me rather forcefully being used against my friends/allies (ie, Han, Leia and Chewy being held and tortured in Cloud City, for a rather nerdy reference). If it's just personal damage/whatever, I'd fight until my captors killed me.
I'd also choose death if I had a terminal illness and was incapable of taking care of myself. At that point, I have nothing further to contribute to anything, so I may as well minimize my consumption of resources.
I'd also choose death if I had a terminal illness and was incapable of taking care of myself. At that point, I have nothing further to contribute to anything, so I may as well minimize my consumption of resources.