Recovering passwords for a user who has left the company

Hello, we use Passbolt CE and we have the following problem:

The user leaves the company and has passwords that he/she did not share with anyone and are important for the process. How can we recover them?

The user forgot his/her login password. How can we register a new password for him/her?

How should we proceed in these situations?