I've seen the AI do this a few times, even before I get them in combat. It's basically 'retreat', with the delay before the ships come back, and the damage they take in the process, but it doesn't need them to be fighting anything (or cut off from their territory.