A masked intruder burglarized a firehouse late Sunday while volunteers were out at a car fire.

The intruder turned out to be an opportunistic raccoon.

advertisement | advertise on newsday

Suffolk County police Emergency Service officers were called to the Holtsville Fire Department to remove the raccoon, who officials said wandered into the firehouse on Waverly Avenue while firefighters were out battling a car fire in a wooded area off the Long Island Expressway.

Photos showed the raccoon settled onto a metal shelf area next to firefighting gear.

The firefighters who found the raccoon called police, who sent out emergency services officers. Those officers captured the raccoon, removed it from the firehouse — and released it back into the wild.