Stuck in pose mode

I decided to do a viewport render of an animation, realised that the relationship lines were showing, and decided to cancel the render. After that I wasn’t able to enter object mode, or edit mode. This is probably an easy fix that I’m too dense to find.

obraz_2022-01-27_092922

Trying to change to edit mode/object mode just makes the buttons go grey.

Nevermind! Just go into Armature → Object Properties → Visibility, and then turn on “Show In Viewports”.