Plays an essential role in chain termination during de novo fatty acid synthesis. High thioesterase activity for myristoyl-ACP. dodecanoyl-[ACP] + H2O = dodecanoate + H(+) + holo-[ACP] Belongs to the acyl-ACP thioesterase family.