Adding a ligand with -extra_res_fa or -extra_res_cen should turn off the loading of the PDB chemical component definitions for ligands with that same three letter code.
But if you wish to turn off the PDB CCD definitions being used generally, the option to use is `-load_PDB_components false`. Keep in mind that if you have a structure with a ligand not from the standard Rosetta set or being provided by -extra_res_fa, turning off the components loading would likely result in a program exit unless you also include the `-ignore_unrecognized_res` flag.