Hmm, well done Kenny because in the end it went alright and in the end thats all that matters.
However. The correct procedure at 300' with a rough running engine is to lower the nose to retain safe flying speed, assess whether level or climbing flight is possible, if not then land ahead following EFATO drills.
The one thing I had thumped into me, and then spent 6 years thumping into others, is that YOU NEVER TURN BACK.
That particular action has killed countless pilots most of them much more experienced than yourself. The AirBourne Cherokee at Bournemouth springs to mind as a recent good example. Stalled in with high bank angle during a turnback with partial power loss. He was killed. As were his passengers who were on a birthday fun flight. He was a qualified flying instructor...
I am concerned that you have reached the point of unsupervised solo flying and have not been taught this very common, very necessary rule.
When it comes to commerical flight training any bad habits like this will have to be stamped out by your flying instructor. Its never an easy task and thas why often we quite like people to have no prior experience. Programming is easy the de-programming.
Safe flying,
WWW