The phone is on factory reset and I couldn't access my phone
The phone's password was entered incorrectly multiple times that it wouldn't restart even if I waited for a minute or hours. It went to factory reset/data wipe. Most probably the factory reset was triggered since it detected multiple incorrect password entry (for security purposes). Data wipe is not an option because I have important files there.