@Vytenis, press the RESET button for 5-7 seconds until the LEDs signal loading factory settings.
Then connect a laptop/PC to the switch, don't connect the switch to the network. Set the laptop to static IP 192.168.0.10 and try again to reach the switch at 192.168.0.1. Change the IP of the switch to an unused static IP from your network, apply the changes and remember to save them to prevent further loss of the IP at next reboot or power outage.
Of course, to be able to save the changes after you did apply the new IP you need to set back your laptop's IP address to one from your network IP range, log into the switch again and save settings (all this without powering off the switch between those steps).