Was the built in speaker working until you plugged in an external speaker? If so, the ext speaker jack most likely stayed pressed in when you took out the cable end. May try cleaning in case it's just dirt causing it to stick. Could be the spring metal didn't spring back. Not sure if line out is same as ext speaker. Does plugging in to line out normally cause the internal speaker to go silent?
Frank