the device is set to erase “stanley” so it makes sense that his memories are easy to recover, because he spends a lot of his time being “stanford”
when we see his mind burning he’s completely alone in the shack, away from everyone, free of his false identity; we’re seeing the pure “stanley” side of his mind, not the “stanford” impersonator we know and love