I recently disconnected the battery on mine while welding the sills after it failed its MOT, and now I'm getting exactly the same problem.
Wind the window up, it beeps three times then lowers it again. I thought it was the switch that tells it if the hard-top is removed that was playing up, but...