HCQ is known to exert an antibacterial effect through the alkalinization of infected organelles, inhibiting bacterial replication.