Verb
To continue to wage war when it is clear that one is not going to win.
To attempt a task or other endeavor in which there is no chance that it will succeed.