If you want to recover lost or forgotten 7z file password then use eSoftTools 7z unlocker tool and unlock your 7z file without any trouble. it gives instant permission to open any password-protected 7z file with no loss of saved data. you can also try this tool with its free demo version which gives the initial three letters of password configuration.
More info:- https://www.7zunlocker.com/
Michael Smith commented
if you need the correct solution to unlock 7z file password then try eSoftTools 7z password Unlocker software, because this software instantly recovers and unlocks the 7z file password without spending time with its 3 most useful techniques:-Brute force attack, and dictionary attack, and mask attack. No restriction of the size of the 7z file. It can give free demo editions in which crack the first three letters of the password.