See if you can get access to the attic space above the bedroom if there is attic space there will be an elbow above the ceiling joists you can remove and cap the pipe and as previously stated if the pipe is capped you may need to shut the gas off to do this