What to do when you forget the password

I installed ubuntu 22.04 on ROC-RK3328-CC. The version I installed was server version (server image, not the desktop image).
Now I forget my ubuntu password and would like to reset. Try to get into the recovery mode (GRUB menu) by pressing ESC, but have no luck.

The same way you reset your password on Ubuntu on your PC.