Transfer Ownership - MasterChef i want to transfer my token ownership back to my wallet

I forked pancakeswap and for masterChef i transferred the token ownership to masterChef contract so that contract can mint the tokens as a owner , which is working fine

i am looking to transfer the onwership of my token back to my wallet address , please let me know how to do that , or do i make a proxy contract , or any other help , please let me know , thanks

Try to make a proxy contract.