For those 2 months, you were out of status. If you had wanted to stay, the proper way would have been to apply to change your status to visitor 30 days before your work permit expired. If you had done that, you would have been under implied status until hearing back. If they would have refused, you would have had to leave.