As with most law/legal questions, the answer is "it depends". It depends on so many different things that such a generic statement like that is never going to get a clear-cut answer. In certain situations the answer could be yes, in others, the answer would be no. I'd go as far as to say that in the overwhelming majority of circumstances, the answer would be no.
"Never give a match up halfway through. Never say that you do not feel up to it, that your condition is bad, and throw in the towel. Fight to the very end, always looking for your chance to break through." - Kazuzo Kudo