simple. he dismantled the animatronics, thereby freeing the souls of the dead children that he stuffed inside of them, causing him to run into the safe room and put on a spring bonnie suit, which malfunctioned and killed him, after which, he had a near death experience where the ghost of golden Freddy (Cassidy) damned him to eternal life in order to get revenge by putting him through the suffering that the original four children went through, hence him coming back in every single game. any questions?