I would suggest only opening/closing the top while still:
For safety reasons, the convertible top should only be
opened and closed when the vehicle is standing still. Top
operation is allowed up to a maximum of 9 mph (15
km/h). Above this speed, top operation will cease and an
audible warning will sound. The top operation can be
resumed after the vehicle is below the maximum speed
by pressing the convertible top switch again.
If the top still doesn't work, I would try the manual overide procedure outlined in the owner's manual (page 195 in mine). Then I would try to cycle it again.
Best wishes. Hope it works out for you.