If you steal the court can put you in jail or fine you. If you self terminate what would the court punish you with? I am assuming the person has already liquidated their assets and given it to whomever they choose. I do not believe the law has any bearing as it has no control. I believe the most they could do is yell at the moon.
The issue GP raised is the criminalization of “helpers” - e.g. a doctor administering lethal drugs. Certainly a law against suicide is irrelevant to someone who successfully uses a shotgun, alone in a field.