The Pentagon said Saturday it was canceling an ongoing military exercise and planned visits by officials in the wake of a coup in Thailand.