To sit on the fence
Not to express an opinion or take sides, often through fear.
e.g. my sister and I were having an argument about politics yesterday but my father was really annoying because he kept sitting on the fence.
Someone doing that is sometimes called a fence sitter