The problem was a flat cranking battery which was down to 6 volts. I think one of us left the ignition on for several hours after we had lowered all of the windows while parked. Neither of us is owning up at this stage.
Unless you’ve altered the electrics somehow, it should have turned off after 20 minutes.