I recently started using Hyper-V on my Windows 10 workstation to task advantage of using technologies such as Docker that leverages Hyper-V to run its container images. I also run VMware Player for running virtual machines.
The following commands make it a simpler task to toggle Hyper-V on and off again.
To Turn Hyper-V off, run the following command then restart your computer:
bcdedit /set hypervisorlaunchtype off
To turn Hyper-V back on, run the following command then restart your computer:
bcdedit /set hypervisorlaunchtype on (or auto start)
Note: Quick method to check the status of Hyper-V – Get-WindowsOptionalFeature -Online -FeatureName *hyper*