How to Restart HomePod and HomePod Mini

Did your HomePod stop responding to your queries all of a sudden? Is Siri not being activated when you press the top of your HomePod? This may be either a glitch or a connectivity issue that can often be easily resolved by just rebooting the device.