even durind an amphibious assault?
Yes. Planes can always retreat. The only things that can’t are units which came via transports
But to add:
If the amphibious assault is called off during the naval battle before the units on the transports disembark, any planes (and land units attacking from other territories) that commited to that fight still have to go through one round of combat before they can retreat.