Error: You must be logged in to the server (Unauthorized)

Dear all,
I have a problem with a K8S cluster created with a Rancher: few month ago for various reasons we lost the Rancher, but the K8S was up and running, and we could manage it with kubectl. Since yesterday we started to receive the following “error: You must be logged in to the server (Unauthorized)“.
Is it possbile to regain control of the cluster?

Thank you very much,
Cristina