The taskbar can actually be placed on any edge of your screen. In fact, if you have multiple monitors, it can be be placed on any edge of any display.
Occasionally — usually through a misclick or accidental mouse action — the taskbar can get moved to somewhere other than where we want it.
So, let’s move the taskbar back.
Move the taskbar back
Here’s a short video:
Why does the taskbar move on its own?
The most common cause for taskbar migration is that the taskbar was unlocked (which enables this kind of movement), and somehow this click-and-drag approach mistakenly happened. For example, perhaps you were moving something in another application, but “overshot” with the mouse click and ended up moving the taskbar instead.
Of course other types of mouse movement, and even the occasional bug, could result in the taskbar being moved to somewhere it’s not supposed to be.
One of the reasons we “Lock the taskbar” after moving it back into place is to prevent this type of accidental movement in the future.