Fetching details from the dictionary...
to change sides; to double-cross; to betray
to roll over (in bed); to turn over
彼は敵側に寝返った裏切り者だ。
He is a traitor who switched to the enemy
味方が寝返る可能性がある。
There is a possibility our ally will betray us
スパイが寝返って情報を漏らした。
The spy defected and leaked information