diff --git a/lib/fog/vcloud_director/models/compute/vm.rb b/lib/fog/vcloud_director/models/compute/vm.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/vcloud_director/models/compute/vm.rb
+++ b/lib/fog/vcloud_director/models/compute/vm.rb
@@ -90,6 +90,17 @@ module Fog
           service.process_task(response.body)
         end
 
+        def undeploy
+          requires :id
+          begin
+            response = service.post_undeploy_vapp(id)
+          rescue Fog::Compute::VcloudDirector::BadRequest => ex
+            Fog::Logger.debug(ex.message)
+            return false
+          end
+          service.process_task(response.body)
+        end
+
         # Shut down the VM.
         def shutdown
           requires :id
Power off leaves it in 'Partially Running' state. VMs must be fully OFF when deleting them with recompose.