As far as I can tell there is no way to look only for re shares in the database. It’s a share type 0, just like a normal user share.
You can reset your admins password, or set it to something you want. You can also create a new user with a new password and put him in the admin group, granting him admin privileges.
Here is the occ password reset command:
occ user:resetpassword --help
Resets the password of the named user.
user:resetpassword [options] [--] <user>
user The user's name.
--password-from-env Read the password from the OC_PASS environment variable.
--send-email The email-id set while creating the user, will be used to send link for password reset. This option will also display the link sent to user.
--output-link The link to reset the password will be displayed.