Generally I have found that if you deck lid stops while closing in the roof erect cycle (putting the top up) it is caused by the package tray sagging and losing contact with the switch. However, for the life of me I cannot picture the black cylinder you are describing unless you mean the package tray motor, and then I still don't totally understand. Anyway, work with your switch adjustment for the package tray and you should be able to work out the problem