Discredited, or you pull a Tywin and pay off those around him to betray the high sparrow (a la the red wedding when Walder Frey wiped out Robb and Caitlyn Stark, et al.)
Pay you off religious fanatics who take a vow of poverty and brand their foreheads?
Good luck!
No the only way is if the HS has some ulterior motive to his sudden ascendancy and ambition to change the city. Figure that out (and the "little birds" may sniff something out) and you can turn the crowd on him and his bully boys.
Until then, as proven in the funeral crypt, he is untouchable.

