Welcome to the forum! Please take a moment to visit the User Control Panel and update your profile to include your car model and year, and your location (at least country). This information will then appear below your name and avatar on the left side panel next to each post you make. This will greatly help others to give you better information. If you are using the mobile version of the site, you will need to switch to the "full" version to get to the User Control Panel.
First, try resetting the door controller by pulling the fuse for a few minutes instead of disconnecting the battery. Left side door is 21, right side is 22 (panel on the drier's side of the dash). lower the window halfway, then pull the window switch fully up (second "click") , and hold it for about 10 seconds after it reaches the top. Also, if this is a cabriolet, try doing it with the top open.