Don't ever bypass a switch in a vacuum cleaner. If you do, every time you plug and unplug it, the current will arc from the outlet to the plug prong, putting a burn mark in both. These burnt areas on the plug and outlet cause resistance to build up. Resistance causes heat buildup, possibly enough to melt and short out the plug. If you want to continue to use it, repair it properly.
George
April 2013