From the angle you took the picture, turn the needle and your work so the working yarn is in back. This is usually with the needle in your right hand. Slip the end stitch to the other needle. Each stitch has 2 legs, one in front of the needle, one it bakc. In standard knitting the end closest to the tip of the needle is in front and that’s how you normally knit a stitch; but if the stitch gets twisted, it could be in back. So if you knit into the ‘leading’ leg or the one closest to the tip, the stitch will be untwisted.