After the war , she spent three years under Allied arrest .