Dock disappearing on Mac
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: