Yes and no. Yes you should leave it alone for a while. But no you shouldnt worry about it eating. NORMALLY frogs can stop eating without care. But I think pacman frogs are an exception; they will hold off eating for a while but it eventually will eat unless its seriously sick or it has an impacted stomach(gravel, sand, etc).
What I recommend you do is simply buy some tongs(ball pointed ones because the other ones pose a health hazard to them when they lounge) and offer it a live earthworm depending on the size of the frog. You can even offer it a roach or a favorite food of a pacman. Just avoid mice or any mammals at all cost. Offer the prey item twice a day every two days. Meaning every two days you offer the food twice UNTILL it starts to eat. Just make sure you stick to a routine schedule as to frogs follow that. Try getting the prey item to wriggle as much as possible. You can also shine a lamp onto the insect it may appeal to the frog(worth a try). What I do with my frogs and toad is I directly mist them before I feed them for 5mins. This will open up their appetite. Make sure you dont "squirt" it but more like mist it. Afterwards offer the item and it SHOULD eat it. If not give it more time itll come around. Aslong as the frog/toad isnt skinny then you're in business. Pacmans should NEVER be skinny. If so they are malnourished , ill and or dying. If you have a malnourished frog give it items that are higher in fat. I was told wax worms have a higher fat content. So that may work as well.