How to remove bar on top when plugin is not activated

Is there a way to remove the bar on top of the page eg dismiss button so if users do not want to use it it can be switch off or option to remind them again in a weeks time.