Unmount all cifs mounts

I had an issue today with ‘df’ and ‘umount’ hanging because of a problem with my Windows (SMB/Samba/CIFS) share. To force unmount I used:

umount -a -t cifs -l

The above command forces all CIFS mounts to unmount immediately.