Did you plant the other bugs in the same night? Because you have to get caught by the guards and there will be a prompt for you to put a bug under the table in the prison. If what you're saying is that you're actually stuck in the prison, either investigate your bed, or turn off skip mode.