The enzyme 4-hydroxybenzoyl-CoA thioesterase (EC 3.1.2.23) catalyzes the reaction4-hydroxybenzoyl-CoA + H2O 4-hydroxybenzoate + CoA