Has acyl-CoA thioesterase activity towards medium and long-chain (C14 to C18) fatty acyl-CoA substrates, and probably plays a role in mitochondrial fatty acid metabolism. Plays a role in the apoptotic process, possibly via its regulation of AKT1 activity. According to PubMed:11598301, inhibits AKT1 phosphorylation and activity. According to PubMed:17615157, enhances AKT1 activity by favoring its phosphorylation and translocation to plasma membrane.