Hello there,
Have you checked the Event Viewer for any trace?
Can you share the exact error message or Event ID you are getting?
If you cannot find anything in Event Viewer I would suggest you use tools like Procmon to find the root cause for this behaviour.
Sometimes with an application-based VPN if the session is not terminated correctly you might face this issue.
In cmd:
ipconfig /release
ipconfig /renew
The workaround is also to launch the VPN connection from the Windows VPN Settings window instead of from System Tray.
In the Windows Search Bar, type "VPN", click "VPN Settings" to open the VPN Settings window. Select the VPN that you want to connect to and click "Connect."
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–