A sea squirt (a marine invertebrate) has a brain during its infant stage, when it swims, but when it transforms into an adult, it attaches to a surface, becomes a stationary filter feeder, and digests its own brain, as if to say, "Now that I've stopped traveling, I won't need this brain thing anymore."