What happens in South Australia when an executor loses mental capacity?

What happens if the executor of an estate or trustee of a testamentary trust loses mental capacity?

What happens if the executor of an estate or trustee of a testamentary trust loses mental capacity?