Unknit a row, now tail in wrong stitch!

I am a beginner (probably obvious from my question), and I’m working on a hat (knit on regular needles, not in the round). I started decreasing and made a mistake, so I pulled out the row–But now my thread is attached to the 3rd to last stitch instead of the last one! How do I fix this??

Thanks in advance–

Turn the work so the sts are on your R needle, move the 2 end sts to the L needle and work them so your yarn is at the end of the row.