In this example there are two swap devices. A swapfile and a swap partition. To turn them off we can use the command swapoff.
swapoff