Take the day off, then. Think about it with a cool head. If you feel up to it come back. If not, then quit. Do what you want because it is your choice in the end.