Was this meant to be funny?
I mean supposing the OP had lightning fast reactions to do this, and got a good grip and the rat didn't leap out of her hands and disappear at warp speed, they would be bitten pretty severely and likely be in need of a tetanus jab if they actually succeeded. Panicking rats bite hard and they produce deep and very dirty puncture wounds that are perfect homes for nasty infections.
OP, forget it for now.
Tomorrow, call a pest controller, in the meantime, rats want cover/shelter, food and water, and access to outdoors too, particularly if any of these are scarce.
Move all the potential food sources (including as much paper/plastic as they will eat these and use them as nest materials).
Store things in metal tins if they must be at floor level or in floor cupboards (or glass/ceramic jars).
Before you start moving stuff to remove cover, provide a clear exit from the house by opening the nearest exit door, and try not to get between rat and exit if at all possible.
Then remove as much clutter/stuff as possible to limit hiding places and shelter.
Check for any potential water sources and remove those too but do NOT block up any exit points you might find to outdoors or to wall/floor spaces... pest control will need to see those and may need to access them.
Rats are scared of new stuff and changes to their environment so they will not leave a safe space if all around has changed, unless absolutely desperate (probably for water) so it is unlikely to go wandering around your home aimlessly... as long as your bedroom is not where it is finding food/water (unlikely!!) you should not meet it again tonight!