You can disengage the roof motor Tony, so that you can put the roof up manually. Did you get the Tool kit and owners manual with the car mate?Welcome, I too have recently bought a Z4 without a test run and got it delivered whilst on holiday.
Red wine was to blame.
It's got roof problems amongst others but advise from the experts on here have raised my hopes.
Currently waiting for INPA and other software from Ebay to have a play.
Stupidly dropped the roof manually and now can't get it back up!!!
Tonyjoc
Tony.