a bed enclosure having a frame , four sidewalls , and a mattress support component suitable for supporting a bed mattress , wherein the bed enclosure is adapted to safely retain within its interior a person who may be prone to falling out of bed or who otherwise may need to be restrained therein , with the bed enclosure having component subframes that can be disassembled for ease of use and storage and sidewalls that can be removed for ease of cleaning , repair , or replacement .