Dell laptop won't shut down while in docking station

My boss has a Dell laptop that he connects to a docking station while here at the office. Lately, it won’t shut down or takes forever to shut down while in the docking station. Doesn’t do this otherwise. How to fix?