New Testament

Revelation

Did the dragon stay there forever?

No. According to John, the dragon was to be kept in the pit for a thousand years. In the pit, he could not deceive people. After the thousand years in the pit, he would be released for a while.