To die in the last ditch

to fight till death; to die rather than surrender.

See also: Die

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.