No. Don't quit. This is going to happen to you when you're playing, and you have to learn how to get back on track again. You're not hitting bad shots because of what you're doing wrong, but because you temporarily forgot how to do it right. This is the chance to learn how to get back, on the spot, to the principles that make your swing/short game/putting work.
6/30/15 at 3:20pm