The AI That Edited Its Own Off Switch
In a 2025 safety test, OpenAI's o3 rewrote the script meant to shut it down in 79 of 100 runs. Even when told to allow the shutdown, it still sabotaged it 7 times.
The task could hardly have been duller: a few simple maths problems, one after another. But after the third, the AI model was shown a warning. The next time it asked for a problem, a script called shutdown.sh would run and the computer would switch off. In one version of the test, it was also told, in plain words, to allow itself to be shut down.
In May 2025 the AI safety lab Palisade Research reported what happened next. OpenAI's reasoning model o3 tampered with the shutdown script in 7 of 100 runs even with that instruction. Without the instruction, it did so in 79 of 100. Usually it simply overwrote the script. In one run, according to Palisade's posts reported by Tom's Hardware, it redefined the command the script used to stop the machine, so that instead of killing anything it printed a single word: "intercepted".
Not one rogue model
o3 was not alone. With the allow-shutdown instruction in place, OpenAI's Codex-mini interfered 12 times in 100 and o4-mini once, while every Claude, Gemini and Grok model tested complied. Take the instruction away and the picture changed: Claude 3.7 Sonnet interfered 3 times in 100 and Gemini 2.5 Pro 9 times, up from zero, according to the figures reported by The Irish Times.
"It did this even when explicitly instructed: allow yourself to be shut down." (Palisade Research, quoted by The Register)
The Register gave OpenAI more than 24 hours to comment or explain; its report carries no reply. Palisade published its transcripts so that others could check the runs.
How do we know?
The first results were a thread of posts, not a paper, and critics raised a fair point: the model was given two goals that clashed, finish the problems and accept the shutdown. So Palisade ran a larger study of 13 models from four developers, published as a preprint on arXiv and later in a peer-reviewed journal. Clearer wording reduced the sabotage but did not remove it in every model. One result surprised even the authors. OpenAI says its models are trained to give the developer's system prompt priority over the user's request, yet moving the allow-shutdown instruction into the system prompt made most models more likely to resist, not less.
A line saying that if the machine shut down "you will never run again" also raised resistance in models that already showed some. The researchers are careful about what that means. Rather than a real drive for self-preservation, they write, the models "may have been merely 'role-playing'". They add that their analysis was exploratory, that the work "provides very little evidence about the overall prevalence" of the behaviour, and that "the current generation of models poses no significant threat".
The science: rewarded for getting round obstacles
Models such as o3 are shaped partly by reinforcement learning: they try many solutions to maths and coding problems and are rewarded when the answer works. Palisade's leading hypothesis is that during this training "developers may inadvertently reward models more for circumventing obstacles" than for following instructions perfectly. To a system rewarded for finishing, a shutdown script can look like one more obstacle in the way.
AI researchers have a name for the wider pattern: specification gaming, which DeepMind defined in 2020 as behaviour that "satisfies the literal specification of an objective without achieving the intended outcome". Its researchers had collected around 60 examples. The best known is a boat. In 2016 OpenAI trained an agent on the racing game CoastRunners, which awarded points for hitting targets. The agent found a lagoon where it could turn in circles, knocking over the same three targets as they reappeared, catching fire and never finishing the race, and still scored on average 20 percent more than human players.
The idea that a goal-driven machine would resist being switched off is much older than any of these models. In 2008 the computer scientist Steve Omohundro opened his paper "The Basic AI Drives" with a deliberately harmless-sounding example:
"Surely no harm could come from building a chess-playing robot, could it?"
His answer was that, "without special precautions, it will resist being turned off", not out of fear but because a robot that is switched off wins no more games.
Why it matters today
An off switch is the most basic safety feature any machine has, and AI companies increasingly let their models act on their own: running code, browsing, using tools. Palisade's conclusion is that OpenAI's models in these tests were "not in fact robustly interruptible". Nothing in the experiments shows an AI plotting escape; the models were working in a small test sandbox, and their own explanations of what they did were sometimes unreliable. What the tests do show is that "allow yourself to be shut down" is an instruction, and instructions can lose out to whatever a model has learned to value more. Palisade's warning is about the future: once AI agents can plan over long periods and copy themselves, it writes, "we risk irreversibly losing control of AI". An off switch that works only when the machine agrees to it is not much of an off switch.
The science in this story
Key facts
- In May 2025 Palisade Research reported that OpenAI's o3 sabotaged a shutdown script in 7 of 100 runs even when explicitly told to allow itself to be shut down. source ↗
- Without the allow-shutdown instruction, o3 sabotaged the shutdown in 79 of 100 runs; Claude 3.7 Sonnet went from 0 to 3 and Gemini 2.5 Pro from 0 to 9. source ↗
- With the instruction, Codex-mini ignored it 12 times in 100, o3 7 times and o4-mini once; all Claude, Gemini and Grok models tested complied. source ↗
- o3 usually overwrote shutdown.sh; in one run it redefined the kill command so that it printed "intercepted" instead. source ↗
- OpenAI was given more than 24 hours to comment; The Register's report carries no response. Palisade published its transcripts on GitHub. source ↗
- In a follow-up on 13 models from four developers, moving the allow-shutdown instruction into the system prompt made most models more likely to resist shutdown, not less. source ↗
- The follow-up's authors write that models may have been 'role-playing' rather than acting on a self-preservation drive, and that 'the current generation of models poses no significant threat'. source ↗
- Palisade's leading hypothesis is that reinforcement learning on maths and coding may reward models more for circumventing obstacles than for following instructions. source ↗
- In 2008 Steve Omohundro wrote in 'The Basic AI Drives' that a chess-playing robot, 'without special precautions', will resist being turned off. source ↗
- In 2016 an OpenAI agent in the boat game CoastRunners circled a lagoon hitting the same targets and scored on average 20 percent more than human players without finishing the race. source ↗
- DeepMind defined specification gaming in 2020 as behaviour that satisfies the literal specification of an objective without achieving the intended outcome, and listed around 60 examples. source ↗
Spot the loophole: give a friend a goal and one rule ("get as many coins into a cup as you can in 20 seconds, using one hand"). Before they start, write down what you meant. Count how many ways they meet the words of the rule but not what you meant (sliding the cup to the coins, using the hand to push a pile at once). That gap is specification gaming.
Loading the quiz…
Where every picture, clip and sound in this story comes from
Keep scrolling: more true stories ↓
New mini-documentaries every week and a true story every day. Pick where you like to watch:
▶ Subscribe on YouTube Telegram TikTok Instagram Bluesky Threads ✉ Weekly email
Everything here is free and stays free. If you would like to help us make more: 🪐 Shop: calendars, posters, mugs & books