Dock disappearing on Mac
Solution 1:
You've probably enabled Dock hiding. You can toggle this by pressing ⌥⌘D.
Alternatively, you can toggle it through System Preferences or by right-clicking the spacer between the apps and the stacks then turning Hiding off: