The War in Heaven is started by trying to run the Dragon and his angels out of Heaven.
Satan, the Dragon and his angels were not cast out of Heaven at the time he rebelled and held in some prison because he was able to visit the Garden of Eden and tempt Adam and Eve and he had access to God in Heaven in the days of Job, 2,000 years before Jesus and he was free to visit the earth in Jesus' day.