Help me!

so i was surfing on route 9 and i got caught on a small ledge. I cant go back to surf cause my pokemon is in the way what can i do???

oh yah my dumb ass saved when i got caught cause i thought i would go back to surfing

Use the DexNav to get into a battle. Get one member of your party fainted and put it in the first slot. This causes the follower to disappear.

i was legit about to cry so thank u