" Potential Energy" is named that because we can imagine scenarios in which a Force would "potentially" do Work, if the process occurred.
I can imagine that somebody hits the yo-yo sideways so that it swings up to the ceiling.
But then, the string might break ... .