Stanley is recalling 2.6 million Switchback and Trigger Action travel mugs in response to a potential safety issue with their lids, the company said.