It took firefighters and EMS about 45 minutes Thursday to rescue a man trapped in an underground work space at a Fuquay-Varina water treatment plant.