American Playhouse: Overdrawn at the Memory Bank (#4.8) (1983)

Computer programmer Aram Fingal's virtual vacation in the classic film Casablanca is removed by a totalitarian government and accidentally trapped in the virtual reality simulation. He must find a way out before he expires.