Instructions on how to restore the factory default settings can be found in your product's User Manual.
You will find the user documentation on the Support page for your respective product:
For Axis Fixed Network Cameras like AXIS M1054 check the video Factory default settings - Axis fixed network camera.
In case you have an AXIS Q6032-E watch: How to reset a Axis Q6032-E PTZ Dome camera.
Please note that you will lose all settings, including IP address and password.
This article applies to the following products: Video Encoder/decoder, Thermal Cameras, PTZ Dome Cameras, Fixed Dome Cameras, Fixed Cameras, Highly discreet cameras, Print Servers, AXIS 9010 Access Point, CD/DVD Servers, Document Servers, System-on-chip & Device servers,