Thanks for playing.
That is not a bug. The enemy base will be invincible while the flagship is alive. After destroying the flagship, you can attack the enemy base again.
Oh okay, thanks cause I had some trouble getting past that. I might beat the game this time.