Assume the following situation. Captain Oicunn performs a dangerous 3-turn maneuver where a part of the template touches the edge of playable area. Although his ship would normally end the maneuver within the playable area, an enemy ship is in the way, so Oicunn bumps into it, moves backwards along the template and ends up outside the battlefield, so his ship has fleed and I need to remove it from the game. Will the enemy ship suffer damage from Oicunn's ability? Or, more generally, in what order the two following events are resolved:
1) a ship flees the battlefield due to a maneuver;
2) abilities with wording "after executing a maneuver" are triggered.