Faced with the prospect of being killed or permanently disabled, soldiers sometimes hoped that they would receive what was known as a blighty wound, and be sent back home. There were some cases where soldiers shot themselves in an attempt to end their time on the frontline. Self-inflicted wounds (SIW) was a capital offence and if discovered, a man found guilty of this faced execution by firing-squad. A total of 3,894 men in the British Army were convicted of SIW. None of these men were executed but they all served periods in prison.
Others killed themselves rather than carry on in the trenches. The usual method of suicide was to place the muzzle of their Lee-Enfield rifle against the head and press the trigger with their bare big toe. In some cases, when men could endure no more, stood up on the fire-step and allowed themselves to be shot by an enemy sniper.

Otto Dix, Trench Suicide (1924)