Code P0300 is random misfire code and might go away if no specific cylinder was indicated (like P0301, or 0302, etc).
You indicated also code P0442 which is small fuel EVAP leak. This could be the gas cap didn't seat right.
Both of these could be related in that you just got gas and the cap didn't seal right and gas was run low and maybe stirred up something in the tank??? I have seen this happen and it went away after the gas cap was re-seated and a couple of driving cycles later. A driving cycle is ....stone cold engine to normal running temp on the highway back to stone cold. Repeat for three days and you have three driving cycles and see if the light goes out.
You could also reset the codes and see if they come back. As long as the Jeep is running smooth those two codes will not hurt anything.
You could try this first.
Dave