Go Down Swinging

To continue fighting or competing to the best of one's ability even when failure seems inevitable.

Examples:

  • I'd rather we go down swinging — I don't want people to think we are weak.
  • The startup went down swinging, pitching to every investor until the very end.

Synonyms: fight to the end, go out fighting