How to enable or disable snap termporarily

Choose the correct snap mode

Remember to be in the correct snapping mode while doing this. Like when you want to enable the snapping for vertex temporarily, make sure that the vertex option is selected in the snap toolbar.