Discontinue an investment plan

How can you discontinue an investment plan without losing the historical transactions?

Usually you could set an end date

You can simply delete the plan. It has no bearing on the transactions.

Am I missing something?

I know the table field “Last Execution”, but this refers to last “succesfull” execution which is not a stop date.