See if you can do this before you have to force quit ...
From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
If that didn't help, select the Security tab from the Preferences window then deselect: Allow all other plug-Ins
Quit and relaunch Safari. If the pop ad does not appear, then you need to troubleshoot plugins.