Nope no issues. Just inform your new company and they will withdraw your visa.
Don’t accept the counter offer. That means they now know you have intentions of leaving. If there are any layoffs in the company or org, you will be the first one to let go.
Negotiate for more
Visa?