The opening credits are a sequence of Maxwell Smart going through a seemingly endless series of doors to reach CONTROL headquarters.
The closing credits are of Smart leaving CONTROL through the same doors, but he changes his mind about leaving and starts back toward the CONTROL entrance. The door nearest Smart closes and injures his nose.