A performance by the Chicago rapper Chief Keef — or rather, his likeness, beamed live via hologram from California — was shut down by the police on Saturday night in Hammond, Ind., after warnings from the mayor’s office that the performer could not appear, even digitally, promoters said on Sunday.

The surprise appearance of Chief Keef at Craze Fest, a hip-hop festival in Hammond, about 25 miles outside of Chicago, was scheduled after a series of canceled hologram performances by the rapper, born Keith Cozart. Last weekend, a Chicago theater called off a similar show after representatives for Mayor Rahm Emanuel’s office deemed Chief Keef “an unacceptable role model,” whose music “promotes violence” and whose presence via hologram “posed a significant public safety risk.”

Chief Keef, who has rapped in the past about his gang affiliations, was previously sentenced to home confinement as a juvenile for pointing a gun at a police officer, and later served time in jail for violating his probation in that case.

More recently, the rapper has said he’s changed. Chief Keef, 19, had billed the performance as a “Stop the Killing” benefit concert, meant to raise money for Marvin Carr, a fellow Chicago rapper who died in a shooting this month, and Dillan Harris, a 13-month-old child killed by a vehicle fleeing the scene of that shooting. The rapper opted not to appear in the Midwest in the flesh, citing outstanding warrants for his arrest, stemming from two child support cases.