There are two ways to reset a Nintendo Switch: a soft reset, which only takes a few seconds, or a factory reset, which will wipe all of your data.
Nintendo Switch 2 users have been warned to "beware" of an issue that could happen when using the console in handheld mode.