Why did Barry Bonds stop playing baseball?

Barry Bonds was forced to stop playing baseball. He was charged with taking steroids. He was also charged with lying about the usage of the drugs.