Technically, you can cancel the formatting process by powering down your device, but it’s not recommended as it could leave your hard drive in an indeterminate state and potentially damage it.