That's not hacking.
Physical access is one of the often forgotten elements of network security. If the perp has access to the equipment, he has access to the data. Would I call that “hacking”, no not really. Though it does take some hacking skills after you get physical access.