When I go to shut down the computer the top bar disappears but the dock stays up. The computer does not shut down until i hold the power button a few seconds to manually do it. Why is this happening?
You need to use Disk Utility to
- repair permission
- verify disk
In addition to the initial problem that caused the inability to shut down, constantly powering down by holding the power button probably messed up your disk.
BTW, Macs DO NOT need to be shut down frequently. Just put it to SLEEP and wake it up. Most users can run for months at a time without restarting and maintain the performance.