Hi Nick Perhaps when closing the drivers window the motor or switch has a fault? Reset the battery again and then open sunroof and window then close the drivers window and try holding the swtich on the drivers wndow to close. Keeping your finger on the switch does the sunroof close when holding the button down?