You press the up arrow key to stop the animation
Thanks To My Teacher MARGOREDBARON she showed me how to do the spinning effect