Use this when you must cut power to a VM.
Stop
Stopping a VM (power off, virsh destroy, Stop-VM -TurnOff) cuts power immediately without a guest shutdown, like pulling the plug. Use it only when a clean shutdown is impossible, since it risks data loss.
1. Stop is a power cut — data in guest caches may be lost.
2. Use shutdown first.
3. Use stop only for hung guests.
4. Expect filesystem checks after.
5. Record why it was used.
stop → process killed → no guest flush
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 When to use it Verify boundary
- Guest is hung and does not respond to shutdown.
- Emergency containment (e.g. ransomware spreading) — but consider suspending or isolating the network first to keep memory evidence.
Step 2 Common mistakes Narrow the fault
- Using hard stop as routine shutdown.
- Forgetting that
virsh destroyonly powers off — it does not delete the VM.
Step 3 Things to know Narrow the fault
- A hard stop is like pulling the power cable: unsaved data and caches are lost, file systems may need checks.
- Use shutdown first; use stop only when the guest does not respond.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Power off is like pulling the plug.
- It risks data loss and file system errors.
- Use it only when a clean shutdown fails.
virsh destroy <vm>— hard stop (libvirt)!qm stop <vmid>— hard stop (Proxmox)Stop-VM <vm> -TurnOff— hard power off (Hyper-V)
ReferenceImportant terms & boundaries2 sections · depth on demand
Commands
| Platform | Hard power off |
|---|---|
| KVM/libvirt | virsh destroy vm01 (does not delete) |
| Proxmox | qm stop 101 |
| Hyper-V | Stop-VM vm01 -TurnOff |
| vSphere | Stop-VM vm01 -Confirm:$false |
In depth
"Stop" (power off) ends the VM immediately without the guest OS shutting down — like pulling the plug. Use it only when a graceful shutdown hangs; open files and databases recover as after a crash.
qm stop 120 # hard stop
virsh destroy vm1 # despite the name, does not delete anything
Stop-VM vm1 -TurnOff
vim-cmd vmsvc/power.off <vmid>
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtual Machine Lifecycle → Stop. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%