There should be no more lawyers in an event such as that described by the OP. The Legal Profession, by its own constitution, exists to ensure that everybody can access our adversarial justice system through a diligent and competent advocate.
For example, among the responsibilities stipulated by the American Bar Association:
[A]ll lawyers should devote professional time and resources and use
civic influence to ensure equal access to our system of justice for
all those who because of economic or social barriers cannot afford or
secure adequate legal counsel.
There are famous examples of lawyers, perhaps reluctantly and even at their personal peril, honoring their professional obligation to advocate in court on behalf of unpopular people and causes. One that comes to mind is John Adams defending the British soldiers who perpetrated the Boston Massacre.
Of course, lawyers are people too so I wouldn't be surprised if there are counterexamples. But there shouldn't be any counterexamples unless every last lawyer in a jurisdiction resigned his professional membership and hung his head in shame.