Wiktionary
spike someone's guns
vb. To frustrate a person's efforts or designs; to undercut, to render helpless.