I found help on this but just in case it is useful I am leaving this post.
If your plugin stops the site from loading due to errors clear your browser history in the last (hour assuming you did the work in the last hour)
This will allow you back into the page to re-upload your newest version.