Resolution
To protect access to privileged EXEC and configuration modes, issue the enable password and enable secret commands. The enable password command password can be recovered. However, the enable secret command password is encrypted and can only be replaced with a new password.
For specific password recovery procedures for your router model, refer to Password Recovery Procedures.