Dementia fits loss of memory, but less so the shutting down of engines and the selection of an expensive vehicle for a trivial job.
The Qantas pilot had another business going in Mauritius and was allegedly intending to leave. He got his loss of licence insurance. There was and still is a reasonable doubt about the authenticity of his 'urge'.