Kepler was convinced the planetary orbits around the sun were circular and could be described with the five Platonic solids. His theory was testable, and when he measured it against observation, it failed. He could have persisted, modified his theory, and continued on the wrong path, but instead, he discarded his theory and discovered elliptical orbits with his three laws of planetary motion.
Kepler was a scientist.
So walking away from string theory years ago, in my mind, would make you a mathematician.
It’s fun to talk about scientists as these staunch defenders of their theories and say “science advances one funeral at a time” but the reality of the situation is that sometimes scientists are faced with the realization that their entire life’s work is in ruins. It’s hard to imagine a more severe test of character than that. Harder still to imagine how one might pick up the pieces and move on to something else and still be able to contribute to science in a meaningful way.