There should be a json file you can manually edit. What OS are you on?
**edit** there might not be. If you don't have a backup of the wallet, you might need to open the wallet in the command line interface. That will allow you to set the logout time.
I would suggest you wait til someone that knows more about this than me answers to do anything drastic.