Hi Sam
Had a similar incident with my Bimmer recently, but put it down to coincidence as it had also been laid up for some time.
However, I would be tempted to reset the battery and take it for a drive to allow everything to settle back in....if still has codes then (after clearing codes) then it would require further investigation.
Let us know how you get on with it