Sounds like the bow (rear window) did not lock in place or the switch on the lock is defective. Have someone put the top up while you listen for the click indicating the bow is latched. Had this happen to me once when my hydraulic pump went bad. You might give it an assist br pressing down on the bow when it attempts to lock. (Might be low on hydraulic oil in the top pump)