Cruel...electric collars.
Or you just put in a door and install it over the existing sheetrock. Then it's not to much to remove and patch the small screw holes and paint when you remove it.
Just a little insurance because that way you know the cat will not get through, otherwise by using a Rube Goldberg contraption you may have a new emergency.
Good luck